Borderou de evaluare (job #2918593)
Utilizator | Data | 11 august 2022 23:17:35 | |
---|---|---|---|
Problema | Kpart | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
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:4:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
4 | #import <set>
| ^~~~~~
main.cpp:5:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
5 | #import <deque>
| ^~~~~~
main.cpp:6:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
6 | #import <cassert>
| ^~~~~~
main.cpp:9: warning: ignoring '#pragma GCC Optimize' [-Wunknown-pragmas]
9 | #pragma GCC Optimize("Ofast")
|
main.cpp:70:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
70 | main()
| ^~~~
main.cpp: In function 'int main()':
main.cpp:110:13: error: ambiguous overload for 'operator<<' (operand types are 'OutParser' and 'std::set<int>::size_type' {aka 'long unsigned int'})
110 | cout<<mp.size()<<' ';
| ~~~~^~~~~~~~~~~
| | |
| OutParser std::set<int>::size_type {aka long unsigned int}
main.cpp:38:16: note: candidate: 'OutParser& OutParser::operator<<(int)'
38 | OutParser& operator << (int vu32) {
| ^~~~~~~~
main.cpp:48:16: note: candidate: 'OutParser& OutParser::operator<<(long long int)'
48 | OutParser& operator << (long long vu64) {
| ^~~~~~~~
main.cpp:58:16: note: candidate: 'OutParser& OutParser::operator<<(char)'
58 | OutParser& operator << (char ch) {
| ^~~~~~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !