Borderou de evaluare (job #1390604)

Utilizator radu_uniculeu sunt radu radu_unicul Data 17 martie 2015 10:34:00
Problema Sarac Sau Rege Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:60:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d%d",&n,&m); ^ user.cpp:60:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:64:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&nr); ^ user.cpp:80:34: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d\n",maxim); ^ user.cpp:60:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&n,&m); ^ user.cpp:64:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&nr); ^ user.cpp:70:35: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d%d",&p1,&p2); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbOK10
20ms280kbOK10
3Depăşit524kbTime limit exceeded.0
4912ms276kbOK10
524msDepăşitMemory limit exceeded.0
624msDepăşitMemory limit exceeded.0
724msDepăşitMemory limit exceeded.0
824msDepăşitMemory limit exceeded.0
924msDepăşitMemory limit exceeded.0
1024msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?