Borderou de evaluare (job #738789)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Transport1 (clasa a 9-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 17 oct. 2023 21:37:53 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: 'cint' does not name a type; did you mean 'uint'?
5 | cint v[16001];
| ^~~~
| uint
main.cpp: In function 'int check(int, int)':
main.cpp:15:20: error: 'v' was not declared in this scope
15 | if(camion>=v[i])
| ^
main.cpp:26:20: error: 'INT_MAX' was not declared in this scope
26 | return INT_MAX;
| ^~~~~~~
main.cpp:2:1: note: 'INT_MAX' is defined in header '<climits>'; did you forget to '#include <climits>'?
1 | #include <fstream>
+++ |+#include <climits>
2 |
main.cpp: In function 'int main()':
main.cpp:57:14: error: 'v' was not declared in this scope
57 | fin>>v[i];
| ^