Borderou de evaluare (job #1276675)

Utilizator MaarcellKurt Godel Maarcell Data 26 noiembrie 2014 18:49:14
Problema Segmente2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:35:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%I64d %I64d\n",&N,&K); ^ user.cpp:35:36: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:39:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(in,"%I64d %I64d\n",&a[i].x,&a[i].y); ^ user.cpp:39:50: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:72:37: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(out,"%I64d\n",p[i]-1); ^ user.cpp:35:37: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%I64d %I64d\n",&N,&K); ^ user.cpp:39:51: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%I64d %I64d\n",&a[i].x,&a[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms332kbRaspuns gresit0
20ms336kbRaspuns gresit0
348msDepăşitMemory limit exceeded.0
448msDepăşitMemory limit exceeded.0
50ms344kbRaspuns gresit0
6280ms12900kbRaspuns gresit0
748msDepăşitMemory limit exceeded.0
848msDepăşitMemory limit exceeded.0
948msDepăşitMemory limit exceeded.0
1048msDepăşitMemory limit exceeded.0
1148msDepăşitMemory limit exceeded.0
1248msDepăşitMemory limit exceeded.0
130ms344kbRaspuns gresit0
1448msDepăşitMemory limit exceeded.0
15472ms14528kbRaspuns gresit0
1648msDepăşitMemory limit exceeded.0
1748msDepăşitMemory limit exceeded.0
1848msDepăşitMemory limit exceeded.0
19284ms12900kbRaspuns gresit0
2048msDepăşitMemory limit exceeded.0
210ms340kbRaspuns gresit0
22288ms12060kbRaspuns gresit0
2348msDepăşitMemory limit exceeded.0
2448msDepăşitMemory limit exceeded.0
250ms332kbRaspuns gresit0
Punctaj total0

Ceva nu functioneaza?