Borderou de evaluare (job #1456002)

Utilizator MaligMamaliga cu smantana Malig Data 29 iunie 2015 17:24:58
Problema Divk Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%i %i %i %i",&N,&K,&A,&B); ^ user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:28:39: warning: format ‘%i’ expects argument of type ‘int*’, but argument 6 has type ‘long long int*’ [-Wformat=] user.cpp:30:28: warning: format ‘%i’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%i",&v[i]); ^ user.cpp:43:23: warning: format ‘%i’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%i",rez); ^ user.cpp:28:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i %i %i %i",&N,&K,&A,&B); ^ user.cpp:30:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%i",&v[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms444kbOK10
212ms464kbOK10
3Depăşit616kbTime limit exceeded.0
420ms1224kbOK10
5Depăşit1960kbTime limit exceeded.0
6Depăşit3524kbTime limit exceeded.0
7Depăşit3520kbTime limit exceeded.0
8Depăşit4304kbTime limit exceeded.0
9Depăşit6652kbTime limit exceeded.0
10Depăşit8204kbTime limit exceeded.0
Punctaj total30

Ceva nu functioneaza?