Borderou de evaluare (job #1326998)

Utilizator ArkinyStoica Alex Arkiny Data 26 ianuarie 2015 11:57:36
Problema Robot2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 2

Raport evaluator

Compilare: user.cpp: In function ‘void read()’: user.cpp:38:19: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(in,"%d",&n); ^ user.cpp:44:27: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(in,"%d",&A[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:181:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(out,"%d",Min); ^ user.cpp: In function ‘void read()’: user.cpp:38:20: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&n); ^ user.cpp:44:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d",&A[i][j]); ^ user.cpp:46:59: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in,"%d%d%d%d",&pos_i.x,&pos_i.y,&pos_f.x,&pos_f.y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms488kbb) si c) lipsa!2
2Depăşit612kbTime limit exceeded.0
3Depăşit872kbTime limit exceeded.0
4Depăşit1620kbTime limit exceeded.0
5Depăşit1992kbTime limit exceeded.0
6Depăşit2404kbTime limit exceeded.0
7Depăşit2376kbTime limit exceeded.0
8Depăşit7696kbTime limit exceeded.0
9Depăşit3988kbTime limit exceeded.0
1060ms10552kbKilled by signal 11(SIGSEGV).0
Punctaj total2

Ceva nu functioneaza?