Borderou de evaluare (job #621958)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Clasa2 | Compilator | cpp-32 |
Rundă | lasm_21_12_2021_cl12 | Status | evaluat |
Dată | 21 dec. 2021 14:11:01 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:87:5: error: redefinition of 'int main()'
87 | int main(){
| ^~~~
main.cpp:64:5: note: 'int main()' previously defined here
64 | int main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:89:9: error: 'cin' was not declared in this scope
89 | cin.tie(0);
| ^~~
main.cpp:3:1: note: 'std::cin' is defined in header '<iostream>'; did you forget to '#include <iostream>'?
2 | #include <algorithm>
+++ |+#include <iostream>
3 | using namespace std;
main.cpp:93:20: error: 'solve' was not declared in this scope
93 | while(t--) solve();
| ^~~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:14:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
14 | fread(buff, 1, 4096, fin);
| ~~~~~^~~~~~~~~~~~~~~~~~~~