Pagini recente » Borderou de evaluare (job #2694907) | Borderou de evaluare (job #1904149) | Borderou de evaluare (job #2780807) | Borderou de evaluare (job #937892) | Borderou de evaluare (job #1326541)
Borderou de evaluare (job #1326541)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
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 ‘void exec()’:
user.cpp:166:43: 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]-10);
^
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 |
1 | 0ms | 468kb | b) si c) lipsa! | 2 |
2 | 0ms | 680kb | b) si c) lipsa! | 2 |
3 | 4ms | 848kb | b) si c) lipsa! | 2 |
4 | 60ms | 2488kb | b) si c) lipsa! | 0 |
5 | 44ms | 1816kb | b) si c) lipsa! | 2 |
6 | 184ms | 6412kb | b) si c) lipsa! | 2 |
7 | 188ms | 6412kb | b) si c) lipsa! | 2 |
8 | 796ms | 12556kb | b) si c) lipsa! | 2 |
9 | 212ms | 3632kb | b) si c) lipsa! | 2 |
10 | 136ms | 2644kb | b) si c) lipsa! | 2 |
Punctaj total | 18 |