Pagini recente » Cod sursa (job #897192) | Borderou de evaluare (job #202752) | Cod sursa (job #437552) | Cod sursa (job #569147) | Borderou de evaluare (job #1437321)
Borderou de evaluare (job #1437321)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:16:32: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 3 has type ‘int*’ [-Wformat=]
fscanf(fin,"%hu%hu",&sum,&n);
^
user.cpp:16:32: warning: format ‘%hu’ expects argument of type ‘short unsigned int*’, but argument 4 has type ‘int*’ [-Wformat=]
user.cpp:16:33: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hu%hu",&sum,&n);
^
user.cpp:20:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(fin,"%hu",&mat[i][j]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 10 |
| 2 | 0ms | 276kb | Incorect | 0 |
| 3 | 0ms | 272kb | OK | 10 |
| 4 | 0ms | 276kb | OK | 10 |
| 5 | 0ms | 280kb | OK | 10 |
| 6 | 0ms | 280kb | Incorect | 0 |
| 7 | 0ms | 452kb | OK | 10 |
| 8 | 0ms | 352kb | OK | 10 |
| 9 | 4ms | 504kb | Incorect | 0 |
| 10 | 4ms | 504kb | OK | 10 |
| Punctaj total | 70 |