0_0_38937267_16650.cpp: In function 'int main()':
0_0_38937267_16650.cpp:8:18: error: expression list treated as compound expression in initializer [-fpermissive]
8 | scanf("%d",&T);
| ^
0_0_38937267_16650.cpp:8:18: error: invalid conversion from 'int*' to 'int' [-fpermissive]
8 | scanf("%d",&T);
| ^
| |
| int*
0_0_38937267_16650.cpp:11:14: error: 'scanf' cannot be used as a function
11 | scanf("%d",&n);
| ~~~~~^~~~~~~~~
0_0_38937267_16650.cpp:12:9: error: 'll' was not declared in this scope
12 | ll num = 0;
| ^~
0_0_38937267_16650.cpp:14:22: error: 'scanf' cannot be used as a function
14 | scanf("%d",&q[i]);
| ~~~~~^~~~~~~~~~~~
0_0_38937267_16650.cpp:15:17: error: 'num' was not declared in this scope; did you mean 'enum'?
15 | num += q[i] - 1;
| ^~~
| enum
0_0_38937267_16650.cpp:19:25: error: 'num' was not declared in this scope; did you mean 'enum'?
19 | else if(num % (n-1) == 0) printf("%d\n",num/(n-1));
| ^~~
| enum
|