Problem nicenumber
User wayne
Submission Time 2023-11-10 15:29:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

nicenumber.cpp: In function ‘int main()’:
nicenumber.cpp:6:2: error: expected initializer before ‘cin’
6 | cin << t << n;
| ^~~
nicenumber.cpp:7:15: error: expected ‘;’ before ‘<’ token
7 | for(int i=0,i<t;i++){
| ^
| ;
nicenumber.cpp:7:15: error: expected primary-expression before ‘<’ token
nicenumber.cpp:8:10: error: ‘arr’ was not declared in this scope
8 | cin >> arr[i];
| ^~~