Pagini recente » Borderou de evaluare (job #42651) | Borderou de evaluare (job #491243) | Borderou de evaluare (job #413200) | Borderou de evaluare (job #466569) | Borderou de evaluare (job #1361187)
Borderou de evaluare (job #1361187)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(inFile, "r", stdin);
^
user.cpp:16:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen(outFile, "w", stdout);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &D);
^
user.cpp:21:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= n; i++) scanf("%d", &s[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 10 |
2 | 0ms | 280kb | OK | 10 |
3 | 0ms | 308kb | OK | 10 |
4 | 8ms | 372kb | OK | 10 |
5 | 8ms | 420kb | Incorect | 0 |
6 | 16ms | 468kb | OK | 10 |
7 | 16ms | 544kb | OK | 10 |
8 | 16ms | 528kb | OK | 10 |
9 | 28ms | 656kb | OK | 10 |
10 | 28ms | 660kb | OK | 10 |
Punctaj total | 90 |