Borderou de evaluare (job #2458205)
Utilizator | Data | 19 septembrie 2019 20:57:27 | |
---|---|---|---|
Problema | MarceLand | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'int main()':
main.cpp:92:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < p; i++)
~~^~~
main.cpp:97:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t j = 0; j < q; j++)
~~^~~
main.cpp:115:4: error: reference to 'cout' is ambiguous
cout << apa << "\n";
^~~~
main.cpp:10:10: note: candidates are: std::ofstream cout
ofstream cout("marceland.out");
^~~~
In file included from main.cpp:3:0:
/usr/include/c++/6/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^~~~
main.cpp:116:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t i = 0; i < p; i++)
~~^~~
main.cpp:118:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (size_t j = 0; j < q; j++)
~~^~~
main.cpp:120:6: error: reference to 'cout' is ambiguous
cout << w[i][j];
^~~~
main.cpp:10:10: note: candidates are: std::ofstream cout
ofstream cout("marceland.out");
^~~~
In file included from main.cpp:3:0:
/usr/include/c++/6/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^~~~
main.cpp:122:5: error: reference to 'cout' is ambiguous
cout << "\n";
^~~~
main.cpp:10:10: note: candidates are: std::ofstream cout
ofstream cout("marceland.out");
^~~~
In file included from main.cpp:3:0:
/usr/include/c++/6/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^~~~
main.cpp:129:4: error: reference to 'cout' is ambiguous
cout << "-1" << "\n";
^~~~
main.cpp:10:10: note: candidates are: std::ofstream cout
ofstream cout("marceland.out");
^~~~
In file included from main.cpp:3:0:
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !