Borderou de evaluare (job #1271703)

Utilizator DanielRusuDaniel Rusu DanielRusu Data 22 noiembrie 2014 13:13:48
Problema Patrate6 Status done
Runda FMI No Stress 5 Compilator cpp | Vezi sursa
Scor 20

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:25: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &n); ^ user.cpp:16:29: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin, "%d", &x); ^ user.cpp:29:28: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout, "%d\n", p); ^ user.cpp:11:26: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &n); ^ user.cpp:16:30: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &x); ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms244kbOK10
20ms244kbOK10
30ms236kbIncorect0
420ms244kbIncorect0
50ms240kbIncorect0
60ms236kbIncorect0
732ms244kbIncorect0
84ms244kbIncorect0
928ms240kbIncorect0
1028ms240kbIncorect0
Punctaj total20

Ceva nu functioneaza?