Borderou de evaluare (job #2439865)

Utilizator GirafaCuCarapaceGrecuAlexandru GirafaCuCarapace Data 16 iulie 2019 23:56:40
Problema Admitere Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:10:13: error: variable 'std::ifstream cin' has initializer but incomplete type ifstream cin("admitere.in"); ^ main.cpp:11:14: error: variable 'std::ofstream cout' has initializer but incomplete type ofstream cout("admitere.out"); ^ main.cpp: In function 'int main()': main.cpp:26:5: error: reference to 'cin' is ambiguous cin >> cer >> n >> m; ^~~ main.cpp:10:10: note: candidates are: <typeprefixerror>cin ifstream cin("admitere.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:28:9: error: reference to 'cin' is ambiguous cin >> val, real[i] = make_pair(val, -1); ^~~ main.cpp:10:10: note: candidates are: <typeprefixerror>cin ifstream cin("admitere.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:30:9: error: reference to 'cin' is ambiguous cin >> val, uman[i] = make_pair(val, -1); ^~~ main.cpp:10:10: note: candidates are: <typeprefixerror>cin ifstream cin("admitere.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:32:9: error: reference to 'cin' is ambiguous cin >> r >> u[i]; ^~~ main.cpp:10:10: note: candidates are: <typeprefixerror>cin ifstream cin("admitere.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:57:9: error: reference to 'cout' is ambiguous cout << max(anscer1.first, anscer1.second) << '\n' << s; ^~~~ Non zero exit status: 1

Ceva nu functioneaza?