Borderou de evaluare (job #608676)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Monotonă (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 5 oct. 2021 17:53:31 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:37:5: error: 'cout' was not declared in this scope
37 | cout << "Hello world!" << endl;
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 |
main.cpp:10:18: warning: unused variable 'aux' [-Wunused-variable]
10 | int n, i, x, aux, cresc = 0, descresc = 1, y;
| ^~~