Borderou de evaluare (job #3140693)
Utilizator | Data | 8 iulie 2023 20:08:07 | |
---|---|---|---|
Problema | Sticle | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:10:5: error: 'cin' was not declared in this scope
10 | cin>>t;
| ^~~
main.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <cmath>
+++ |+#include <iostream>
3 |
main.cpp:15:9: error: 'cout' was not declared in this scope
15 | cout << (int)log2(n) + 1 << endl;
| ^~~~
main.cpp:15:9: note: 'std::cout' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !