Pagini recente » Borderou de evaluare (job #1689635) | Borderou de evaluare (job #1503086) | Borderou de evaluare (job #1648144) | Borderou de evaluare (job #2043357) | Borderou de evaluare (job #1326534)
Borderou de evaluare (job #1326534)
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:167: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 | 464kb | b) si c) lipsa! | 2 |
2 | 0ms | 744kb | b) si c) lipsa! | 2 |
3 | 4ms | 920kb | b) si c) lipsa! | 2 |
4 | 48ms | 3532kb | b) si c) lipsa! | 0 |
5 | 56ms | 1944kb | b) si c) lipsa! | 2 |
6 | 240ms | 10604kb | b) si c) lipsa! | 0 |
7 | 164ms | 10604kb | b) si c) lipsa! | 2 |
8 | Depăşit | 37180kb | Time limit exceeded. | 0 |
9 | 292ms | 3784kb | b) si c) lipsa! | 2 |
10 | 232ms | 2912kb | b) si c) lipsa! | 2 |
Punctaj total | 14 |