Borderou de evaluare (job #1567663)
Utilizator | Data | 13 ianuarie 2016 17:27:52 | |
---|---|---|---|
Problema | Ksecv4 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
user.cpp: In function ‘int main()’:
user.cpp:54:5: error: reference to ‘cout’ is ambiguous
cout<<st;
^
user.cpp:6:14: note: candidates are: std::ofstream cout
#define fout cout
^
user.cpp:10:10: note: in expansion of macro ‘fout’
ofstream fout("ksecv4.out");
^
In file included from /usr/include/i386-linux-gnu/c++/4.8/bits/stdc++.h:74:0,
from user.cpp:1:
/usr/include/c++/4.8/iostream:61:18: note: std::ostream std::cout
extern ostream cout; /// Linked to standard output
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !