Borderou de evaluare (job #1789739)

Utilizator monicalegendaLegenda Monica monicalegenda Data 27 octombrie 2016 15:01:38
Problema Clasic Status done
Runda Arhiva ICPC Compilator cpp | Vezi sursa
Scor 100

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:18:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%ld ", &x); ^ user.cpp:21:35: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%ld\n", sum); ^ user.cpp:12:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d\n", &t); ^ user.cpp:15:32: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d\n", &n); ^ user.cpp:18:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%ld ", &x); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
12096ms264kbOK100
Punctaj total100

Ceva nu functioneaza?