Problem 3nplus1
User denzelong8811
Submission Time 2024-02-20 22:08:31
Score 0
Max Time N/A
Max Memory N/A

Compile Error

3nplus1.cpp:7:3: error: invalid preprocessing directive #int
7 | #int svalue[];
| ^~~
3nplus1.cpp:8:3: error: invalid preprocessing directive #long
8 | #long long i = 0;
| ^~~~
3nplus1.cpp:13:5: error: invalid preprocessing directive #svalue
13 | #svalue[i] = s;
| ^~~~~~
3nplus1.cpp:14:5: error: invalid preprocessing directive #i; did you mean #if?
14 | #i += 1;
| ^
| if
3nplus1.cpp:19:5: error: invalid preprocessing directive #svalue
19 | #svalue[i] = s;
| ^~~~~~
3nplus1.cpp:20:5: error: invalid preprocessing directive #i; did you mean #if?
20 | #i += 1;
| ^
| if
3nplus1.cpp: In function ‘int32_t main()’:
3nplus1.cpp:24:10: error: ‘svalue’ was not declared in this scope; did you mean ‘si_value’?
24 | cout << svalue;
| ^~~~~~
| si_value