Pagini recente » Borderou de evaluare (job #2382245) | Borderou de evaluare (job #1375440) | Borderou de evaluare (job #2463903) | Borderou de evaluare (job #1402905) | Borderou de evaluare (job #1430644)
Borderou de evaluare (job #1430644)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:58:19: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%ld\n", d);
^
user.cpp:57:27: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(OUT, "w", stdout);
^
user.cpp: In function ‘void readData()’:
user.cpp:17:25: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(IN, "r", stdin);
^
user.cpp:18:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &N);
^
user.cpp:20:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &D[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2408kb | OK | 10 |
| 2 | 0ms | 2408kb | OK | 10 |
| 3 | 0ms | 2412kb | OK | 10 |
| 4 | 0ms | 2404kb | OK | 10 |
| 5 | 0ms | 2404kb | OK | 10 |
| 6 | 4ms | 2408kb | OK | 10 |
| 7 | 20ms | 2408kb | OK | 10 |
| 8 | 72ms | 2408kb | OK | 10 |
| 9 | 184ms | 2404kb | Incorect | 0 |
| 10 | 368ms | 2408kb | Incorect | 0 |
| Punctaj total | 80 |