Pagini recente » Borderou de evaluare (job #3250306) | Borderou de evaluare (job #468030) | Borderou de evaluare (job #495552) | Borderou de evaluare (job #988908) | Borderou de evaluare (job #1501890)
Borderou de evaluare (job #1501890)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:27:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.in","r",stdin);
^
user.cpp:28:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("sirag.out","w",stdout);
^
user.cpp:30:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &p);
^
user.cpp:31:49: 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", &ap[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 448kb | Incorect | 0 | 0 |
2 | 0ms | 452kb | OK | 10 |
3 | 0ms | 464kb | OK | 10 | 10 |
4 | 4ms | 488kb | Incorect | 0 | 0 |
5 | 4ms | 496kb | Incorect | 0 | 0 |
6 | 32ms | 836kb | OK | 10 | 10 |
7 | 36ms | 840kb | OK | 10 | 10 |
8 | 32ms | 840kb | OK | 10 | 10 |
9 | 8ms | 544kb | OK | 10 | 10 |
10 | 40ms | 840kb | OK | 10 | 10 |
Punctaj total | 60 |