Pagini recente » Borderou de evaluare (job #1864822) | Borderou de evaluare (job #1243565) | Borderou de evaluare (job #3268974) | Borderou de evaluare (job #1973334) | Borderou de evaluare (job #1326506)
Borderou de evaluare (job #1326506)
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 | 472kb | b) si c) lipsa! | 2 |
2 | 0ms | 692kb | b) si c) lipsa! | 2 |
3 | 4ms | 848kb | b) si c) lipsa! | 2 |
4 | 44ms | 2488kb | b) si c) lipsa! | 0 |
5 | 40ms | 1824kb | b) si c) lipsa! | 2 |
6 | 116ms | 6420kb | b) si c) lipsa! | 0 |
7 | 132ms | 6420kb | b) si c) lipsa! | 2 |
8 | 784ms | 12556kb | b) si c) lipsa! | 2 |
9 | 204ms | 3628kb | b) si c) lipsa! | 2 |
10 | 136ms | 2648kb | b) si c) lipsa! | 2 |
Punctaj total | 16 |