Pagini recente » Borderou de evaluare (job #599599) | Borderou de evaluare (job #2186765) | Borderou de evaluare (job #1102338) | Borderou de evaluare (job #3198977) | Borderou de evaluare (job #2050427)
Borderou de evaluare (job #2050427)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire(int)’:
user.cpp:20:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[0]);
^
user.cpp:23:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &a[i]);
^
user.cpp: In function ‘int main()’:
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("elmaj.in", "r", stdin);
^
user.cpp:29:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("elmaj.out", "w", stdout);
^
user.cpp:30:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &n);
^
user.cpp:32:14: warning: ‘c’ is used uninitialized in this function [-Wuninitialized]
citire(c);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 264kb | OK | 10 |
2 | 0ms | 256kb | Incorect | 0 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 296kb | Incorect | 0 |
5 | 12ms | 448kb | Incorect | 0 |
6 | 24ms | 652kb | OK | 10 |
7 | 56ms | 1040kb | OK | 10 |
8 | 120ms | 2216kb | OK | 10 |
9 | 256ms | 4160kb | OK | 10 |
10 | 276ms | 4168kb | OK | 10 |
Punctaj total | 70 |