Pagini recente » Borderou de evaluare (job #431219) | Borderou de evaluare (job #2190766) | Borderou de evaluare (job #2268867) | Borderou de evaluare (job #422547) | Borderou de evaluare (job #1430700)
Borderou de evaluare (job #1430700)
Raport evaluator
Compilare:
user.cpp: In function ‘void readData()’:
user.cpp:20:21: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=]
scanf("%ld", &D[i]);
^
user.cpp: In function ‘int main()’:
user.cpp:59: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:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld", &D[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 2480kb | OK | 10 |
| 2 | 0ms | 2480kb | OK | 10 |
| 3 | 0ms | 2480kb | OK | 10 |
| 4 | 0ms | 2476kb | OK | 10 |
| 5 | 4ms | 2480kb | OK | 10 |
| 6 | 4ms | 2480kb | OK | 10 |
| 7 | 36ms | 2480kb | OK | 10 |
| 8 | 124ms | 2480kb | OK | 10 |
| 9 | 280ms | 2480kb | OK | 10 |
| 10 | 572ms | 2476kb | OK | 10 |
| Punctaj total | 100 |