Borderou de evaluare (job #707121)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Chip și Dale (clasa a 6-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 14 mar. 2023 19:40:56 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:4:1: error: 'osftream' does not name a type
4 | osftream cout ("chipsidale.out");
| ^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:21:13: error: 'i' was not declared in this scope
21 | i --;
| ^
main.cpp:39:5: error: 'cout' was not declared in this scope
39 | cout << scsaci << ' ' << scalune << endl << ds << ' ' << ds;
| ^~~~
main.cpp:2:1: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
1 | #include <fstream>
+++ |+#include <iostream>
2 | using namespace std;
main.cpp:15:9: warning: unused variable 'j' [-Wunused-variable]
15 | int j = n;
| ^