Borderou de evaluare (job #1384365)

Utilizator TarabanDragosTaraban Dragos-Petru TarabanDragos Data 11 martie 2015 04:18:31
Problema Teroristi2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 80

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:8:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d%d",&n,&k,&MOD); ^ user.cpp:8:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:8:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘long long int*’ [-Wformat=] user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(f,"%d%d",&a,&b); ^ user.cpp:10:30: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:53:21: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(g,"%d",a); ^ user.cpp:8:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d%d",&n,&k,&MOD); ^ user.cpp:10:31: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&a,&b); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms252kbOK1010
20ms268kbOK1010
30ms288kbOK1010
424ms1308kbOK1010
536ms1304kbOK1020
68ms608kbOK10
7Depăşit8548kbTime limit exceeded.00
856ms2424kbOK10
9472ms8536kbOK1020
10244ms8008kbOK10
Punctaj total80

Ceva nu functioneaza?