Borderou de evaluare (job #2734037)
Utilizator | Data | 31 martie 2021 12:02:33 | |
---|---|---|---|
Problema | Trans | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:0: warning: ignoring #pragma GCC option [-Wunknown-pragmas]
#pragma GCC option("arch=native","tune=native","no-zero-upper")
main.cpp:52:12: error: 'InParser& InParser::operator>>(long long int&)' cannot be overloaded
InParser& operator >> (long long &n) {
^~~~~~~~
main.cpp:35:12: error: with 'InParser& InParser::operator>>(long long int&)'
InParser& operator >> (int &n) {
^~~~~~~~
main.cpp:110:16: error: 'OutParser& OutParser::operator<<(long long int)' cannot be overloaded
OutParser& operator << (long long vu64) {
^~~~~~~~
main.cpp:100:16: error: with 'OutParser& OutParser::operator<<(long long int)'
OutParser& operator << (int vu32) {
^~~~~~~~
main.cpp: In function 'int main()':
main.cpp:180:5: error: reference to 'cin' is ambiguous
cin >> n;
^~~
main.cpp:133:10: note: candidates are: InParser cin
InParser cin("trans.in");
^~~
In file included from main.cpp:1:0:
/usr/include/c++/6/iostream:60:18: note: std::istream std::cin
extern istream cin; /// Linked to standard input
^~~
main.cpp:186:9: error: reference to 'cin' is ambiguous
cin >> a[i] >> v[i];
^~~
main.cpp:133:10: note: candidates are: InParser cin
InParser cin("trans.in");
^~~
In file included from main.cpp:1:0:
/usr/include/c++/6/iostream:60:18: note: std::istream std::cin
extern istream cin; /// Linked to standard input
^~~
main.cpp:191:5: error: reference to 'cin' is ambiguous
cin >> q;
^~~
main.cpp:133:10: note: candidates are: InParser cin
InParser cin("trans.in");
^~~
In file included from main.cpp:1:0:
/usr/include/c++/6/iostream:60:18: note: std::istream std::cin
extern istream cin; /// Linked to standard input
^~~
main.cpp:194:9: error: reference to 'cin' is ambiguous
cin >> k >> taxa;
^~~
main.cpp:133:10: note: candidates are: InParser cin
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !