Borderou de evaluare (job #664524)
Utilizator |
|
IP | ascuns |
---|---|---|---|
Problemă | Ants | Compilator | cpp-32 |
Rundă | Arhiva de probleme | Status | evaluat |
Dată | 27 sept. 2022 15:15:17 | Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:2:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
2 | #import <algorithm>
| ^~~~~~
main.cpp:3:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
3 | #import <vector>
| ^~~~~~
main.cpp:90:19: error: 'InParser& InParser::operator>>(long long int&)' cannot be overloaded with 'InParser& InParser::operator>>(long long int&)'
90 | InParser& operator >> (long long &n) {
| ^~~~~~~~
main.cpp:56:19: note: previous declaration 'InParser& InParser::operator>>(long long int&)'
56 | InParser& operator >> (int &n) {
| ^~~~~~~~
main.cpp:207:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
207 | main()
| ^~~~
main.cpp: In member function 'char InParser::read_ch()':
main.cpp:32:30: warning: ignoring return value of 'size_t fread(void*, size_t, size_t, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
32 | fread(buff, 1, 4096, fin);
| ~~~~~^~~~~~~~~~~~~~~~~~~~