Borderou de evaluare (job #3273366)
Utilizator | Data | 1 februarie 2025 20:45:09 | |
---|---|---|---|
Problema | Cautare binara | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:51:17: error: 'cout' was not declared in this scope
51 | cout<<n<<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:9:15: warning: unused variable 'o' [-Wunused-variable]
9 | int n,q,a,o=0,u=0,x;
| ^
main.cpp:9:19: warning: unused variable 'u' [-Wunused-variable]
9 | int n,q,a,o=0,u=0,x;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !