Borderou de evaluare (job #1390608)

Utilizator radu_uniculeu sunt radu radu_unicul Data 17 martie 2015 10:34:30
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
10ms260kbOK10
20ms272kbOK10
3Depăşit520kbTime limit exceeded.0
4904ms276kbOK10
524ms1008kbKilled by signal 11(SIGSEGV).0
628ms1008kbKilled by signal 11(SIGSEGV).0
724msDepăşitMemory limit exceeded.0
824ms1008kbKilled by signal 11(SIGSEGV).0
924msDepăşitMemory limit exceeded.0
1024msDepăşitMemory limit exceeded.0
Punctaj total30

Ceva nu functioneaza?