Pagini recente » Borderou de evaluare (job #1810532) | Borderou de evaluare (job #1368920) | Borderou de evaluare (job #2443026) | Borderou de evaluare (job #1155664) | Borderou de evaluare (job #1595677)
Borderou de evaluare (job #1595677)
Raport evaluator
Compilare:
user.cpp: In function ‘void read()’:
user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long unsigned int*’ [-Wformat=]
fscanf(in, "%d%d", &A[i], &B[i]);
^
user.cpp:22:40: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long unsigned int*’ [-Wformat=]
user.cpp:20:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d", &nr_intervale);
^
user.cpp:22:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
fscanf(in, "%d%d", &A[i], &B[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 444kb | OK | 10 |
| 2 | 0ms | 440kb | OK | 10 |
| 3 | 4ms | 596kb | OK | 10 |
| 4 | 8ms | 676kb | OK | 10 |
| 5 | 12ms | 676kb | OK | 10 |
| 6 | 8ms | 672kb | OK | 10 |
| 7 | 8ms | 680kb | OK | 10 |
| 8 | 8ms | 676kb | OK | 10 |
| 9 | 8ms | 676kb | OK | 10 |
| 10 | 8ms | 680kb | OK | 10 |
| Punctaj total | 100 |