Pagini recente » Borderou de evaluare (job #1300798) | Borderou de evaluare (job #2658769) | Borderou de evaluare (job #2004443) | Borderou de evaluare (job #1627007) | Borderou de evaluare (job #1326530)
Borderou de evaluare (job #1326530)
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 | 688kb | b) si c) lipsa! | 2 |
| 3 | 4ms | 844kb | b) si c) lipsa! | 2 |
| 4 | 44ms | 2484kb | b) si c) lipsa! | 0 |
| 5 | 40ms | 1820kb | b) si c) lipsa! | 2 |
| 6 | 108ms | 6412kb | b) si c) lipsa! | 2 |
| 7 | 168ms | 6412kb | b) si c) lipsa! | 2 |
| 8 | 788ms | 12556kb | b) si c) lipsa! | 2 |
| 9 | 204ms | 3624kb | b) si c) lipsa! | 2 |
| 10 | 140ms | 2636kb | b) si c) lipsa! | 2 |
| Punctaj total | 18 |