Pagini recente » Borderou de evaluare (job #1237257) | Borderou de evaluare (job #1693177) | Borderou de evaluare (job #707975) | Borderou de evaluare (job #2559845) | Borderou de evaluare (job #1327169)
Borderou de evaluare (job #1327169)
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 | 548kb | b) si c) lipsa! | 2 |
2 | 0ms | 1036kb | b) si c) lipsa! | 0 |
3 | 4ms | 1624kb | b) si c) lipsa! | 2 |
4 | 64ms | 4180kb | b) si c) lipsa! | 0 |
5 | 44ms | 4012kb | b) si c) lipsa! | 0 |
6 | 192ms | 6896kb | b) si c) lipsa! | 0 |
7 | 184ms | 6816kb | b) si c) lipsa! | 0 |
8 | 776ms | 13200kb | b) si c) lipsa! | 0 |
9 | 180ms | 9840kb | b) si c) lipsa! | 2 |
10 | 144ms | 6372kb | b) si c) lipsa! | 0 |
Punctaj total | 6 |