Problem guanine
User AltheaZ
Submission Time 2023-07-01 11:07:54
Score 0
Max Time N/A
Max Memory N/A

Compile Error

guanine.cpp: In function ‘int main()’:
guanine.cpp:11:12: error: expected ‘;’ before ‘==’ token
11 | for (int i==0;i<n;i++){
| ^~
| ;
guanine.cpp:11:12: error: expected primary-expression before ‘==’ token
11 | for (int i==0;i<n;i++){
| ^~
guanine.cpp:11:19: error: expected ‘)’ before ‘;’ token
11 | for (int i==0;i<n;i++){
| ~ ^
| )
guanine.cpp:11:20: error: ‘i’ was not declared in this scope
11 | for (int i==0;i<n;i++){
| ^
guanine.cpp:28:1: error: expected ‘}’ at end of input
28 | }
| ^
guanine.cpp:5:11: note: to match this ‘{’
5 | int main(){
| ^