Borderou de evaluare (job #595217)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Trio (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Pregătire OSEPI 3 - clasa a 5-a | Status | evaluat |
Dată | 6 apr. 2021 19:28:24 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:34:23: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
34 | if (cod[o]<o)
| ~~~~~~^~
main.cpp:36:23: error: incompatible types in assignment of 'int' to 'int [100001]'
36 | cod[o]=o-1;
| ~~~~~~^~~~