Borderou de evaluare (job #2088400)

Utilizator herbertoHerbert Mohanu herberto Data 15 decembrie 2017 09:33:14
Problema Div3 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:41:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d", xp[0]); ^ user.cpp: At global scope: user.cpp:44:1: error: expected declaration before ‘}’ token } ^ user.cpp: In function ‘int main()’: user.cpp:10:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d", &n, &k); ^ user.cpp:13:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a); ^

Ceva nu functioneaza?