Borderou de evaluare (job #1327141)

Utilizator ArkinyStoica Alex Arkiny Data 26 ianuarie 2015 13:45:43
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:46: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 ‘void exec()’: user.cpp:157:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(out,"%d",A[pos_f.x][pos_f.y]); ^ user.cpp: In function ‘void read()’: user.cpp:39: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:46: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:53: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
10ms516kbb) si c) lipsa!2
24ms872kbb) si c) lipsa!0
3Depăşit1212kbTime limit exceeded.0
4Depăşit2832kbTime limit exceeded.0
5Depăşit2816kbTime limit exceeded.0
6Depăşit4448kbTime limit exceeded.0
7Depăşit4740kbTime limit exceeded.0
8Depăşit8516kbTime limit exceeded.0
9Depăşit6708kbTime limit exceeded.0
10Depăşit4480kbTime limit exceeded.0
Punctaj total2

Ceva nu functioneaza?