Pagini recente » Borderou de evaluare (job #2875334) | Borderou de evaluare (job #1807060) | Borderou de evaluare (job #522173) | Borderou de evaluare (job #3288446) | Borderou de evaluare (job #1327879)
Borderou de evaluare (job #1327879)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:48: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: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:41: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:48: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:55: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 | 512kb | b) si c) lipsa! | 2 |
2 | 0ms | 832kb | b) si c) lipsa! | 0 |
3 | 4ms | 1240kb | b) si c) lipsa! | 2 |
4 | 60ms | 3052kb | b) si c) lipsa! | 0 |
5 | 44ms | 2860kb | b) si c) lipsa! | 0 |
6 | 188ms | 4800kb | b) si c) lipsa! | 0 |
7 | 188ms | 5168kb | b) si c) lipsa! | 0 |
8 | 780ms | 9792kb | b) si c) lipsa! | 0 |
9 | 200ms | 6752kb | b) si c) lipsa! | 0 |
10 | 140ms | 4440kb | b) si c) lipsa! | 0 |
Punctaj total | 4 |