0_0_39680044_10708.cpp:39:5: error: cannot declare '::main' to be a global variable
39 | int main
| ^~~~
0_0_39680044_10708.cpp:41:32: error: expected '}' before ';' token
41 | ios::sync_with_stdio(false);
| ^
0_0_39680044_10708.cpp:40:1: note: to match this '{'
40 | {
| ^
0_0_39680044_10708.cpp:43:18: error: expected constructor, destructor, or type conversion before '(' token
43 | getprimes(num);
| ^
0_0_39680044_10708.cpp:45:5: error: 'cin' does not name a type
45 | cin>>T;
| ^~~
0_0_39680044_10708.cpp:46:5: error: expected unqualified-id before 'while'
46 | while (T--)
| ^~~~~
0_0_39680044_10708.cpp:71:5: error: expected unqualified-id before 'return'
71 | return 0;
| ^~~~~~
0_0_39680044_10708.cpp:72:1: error: expected declaration before '}' token
72 | }
| ^
|