Borderou de evaluare (job #754945)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Bancomat (clasa a 5-a) | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 13 ian. 2024 13:25:48 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:22:5: error: 'cout' was not declared in this scope
22 | cout<<S;
| ^~~~
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:8:19: warning: unused variable 'o' [-Wunused-variable]
8 | int n, S, i,a,o;
| ^