Borderou de evaluare (job #3122856)
Utilizator | Data | 20 aprilie 2023 20:39:24 | |
---|---|---|---|
Problema | Sirbun | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In lambda function:
main.cpp:26:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
26 | int m=(st+dr>>1);
| ~~^~~
main.cpp: In lambda function:
main.cpp:40:18: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
40 | int m=(st+dr>>1);
| ~~^~~
main.cpp: In function 'void solve()':
main.cpp:14:11: warning: unused variable 'w' [-Wunused-variable]
14 | int n,w;
| ^
main.cpp: At global scope:
main.cpp:61:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
61 | main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:64:5: error: 'cin' was not declared in this scope
64 | cin.tie(0);
| ^~~
main.cpp:9:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
8 | #include <functional>
+++ |+#include <iostream>
9 | using namespace std;
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !