Pagini recente » Borderou de evaluare (job #1339270) | Cod sursa (job #646589) | Borderou de evaluare (job #585421) | Borderou de evaluare (job #1420412) | Borderou de evaluare (job #1337925)
Borderou de evaluare (job #1337925)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:20: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=]
scanf("%ld", &n);
^
user.cpp:12:29: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FIN, "r", stdin);
^
user.cpp:13:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(FOUT, "w", stdout);
^
user.cpp:15:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &n);
^
user.cpp:19:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", &v[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 256kb | OK | 5 |
| 2 | 0ms | 248kb | Incorect | 0 |
| 3 | 0ms | 256kb | Incorect | 0 |
| 4 | 0ms | 256kb | Incorect | 0 |
| 5 | 0ms | 288kb | OK | 5 |
| 6 | 0ms | 324kb | OK | 5 |
| 7 | 4ms | 404kb | OK | 5 |
| 8 | 4ms | 488kb | OK | 5 |
| 9 | 20ms | 1028kb | OK | 5 |
| 10 | 48ms | 1820kb | Incorect | 0 |
| 11 | 96ms | 3380kb | OK | 5 |
| 12 | 148ms | 4940kb | OK | 5 |
| 13 | 200ms | 6504kb | OK | 5 |
| 14 | 244ms | 8068kb | OK | 5 |
| 15 | 1128ms | 39312kb | OK | 5 |
| 16 | 1244ms | 43224kb | OK | 5 |
| 17 | 1236ms | 43216kb | OK | 5 |
| 18 | 1332ms | 47120kb | OK | 5 |
| 19 | 1360ms | 47120kb | OK | 5 |
| 20 | 1372ms | 47120kb | OK | 5 |
| Punctaj total | 80 |