Problem twochoices
User Ush
Submission Time 2024-12-07 10:09:36
Score 0
Max Time N/A
Max Memory N/A

Compile Error

twochoices.cpp: In function ‘int main()’:
twochoices.cpp:8:15: error: ‘int’ is not a template
8 | for (int i=0; int<n;i++){
| ^~~
twochoices.cpp:8:15: error: expected primary-expression before ‘int’
twochoices.cpp:8:14: error: expected ‘;’ before ‘int’
8 | for (int i=0; int<n;i++){
| ^~~~
| ;
twochoices.cpp:8:15: error: expected primary-expression before ‘int’
8 | for (int i=0; int<n;i++){
| ^~~
twochoices.cpp:8:14: error: expected ‘)’ before ‘int’
8 | for (int i=0; int<n;i++){
| ~ ^~~~
| )
twochoices.cpp:8:15: error: declaration does not declare anything [-fpermissive]
8 | for (int i=0; int<n;i++){
| ^~~
twochoices.cpp:8:21: error: ‘i’ was not declared in this scope
8 | for (int i=0; int<n;i++){
| ^