Borderou de evaluare (job #587502)
Utilizator | Damian Tudor Christian damiantudor | IP | ascuns |
---|---|---|---|
Problemă | Cool (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 21 mar. 2021 13:58:34 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:40:17: error: 'lmax' was not declared in this scope
40 | int l=1;lmax=0,min1,max1;
| ^~~~
main.cpp:40:24: error: 'min1' was not declared in this scope
40 | int l=1;lmax=0,min1,max1;
| ^~~~
main.cpp:40:29: error: 'max1' was not declared in this scope
40 | int l=1;lmax=0,min1,max1;
| ^~~~
main.cpp:41:20: error: expected identifier before numeric constant
41 | max1=min1=[1];
| ^
main.cpp: In lambda function:
main.cpp:41:22: error: expected '{' before ';' token
41 | max1=min1=[1];
| ^
main.cpp: In function 'int main()':
main.cpp:40:13: warning: unused variable 'l' [-Wunused-variable]
40 | int l=1;lmax=0,min1,max1;
| ^