Borderou de evaluare (job #538935)

Utilizator avatar GicuR Gicu Rata GicuR IP ascuns
Problemă Fermier (clasa a 8-a) Compilator cpp
Rundă lasm_04_03_2020_cl_10_a Status evaluat
Dată 4 mar. 2020 12:05:32 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘include’ does not name a type user.cpp:5:1: error: ‘ifstream’ does not name a type user.cpp:6:1: error: ‘ofstream’ does not name a type user.cpp:12:1: error: ‘pair’ does not name a type user.cpp:14:15: error: ‘pair’ was not declared in this scope user.cpp:14:20: error: expected primary-expression before ‘int’ user.cpp:14:25: error: expected primary-expression before ‘int’ user.cpp:14:33: error: ‘pair’ was not declared in this scope user.cpp:14:38: error: expected primary-expression before ‘int’ user.cpp:14:43: error: expected primary-expression before ‘int’ user.cpp:14:49: error: expression list treated as compound expression in initializer [-fpermissive] user.cpp:15:1: error: expected ‘,’ or ‘;’ before ‘{’ token user.cpp: In function ‘int main()’: user.cpp:25:5: error: ‘fin’ was not declared in this scope user.cpp:27:16: error: ‘pietre’ was not declared in this scope user.cpp:29:5: error: ‘pietre’ was not declared in this scope user.cpp:31:36: error: ‘sort’ was not declared in this scope user.cpp:35:41: error: ‘Dif’ cannot be used as a function user.cpp:38:52: error: ‘Dif’ cannot be used as a function user.cpp:42:5: error: ‘fout’ was not declared in this scope