Pagini recente » Borderou de evaluare (job #1391144) | Borderou de evaluare (job #2385715) | Borderou de evaluare (job #781721) | Borderou de evaluare (job #2243209) | Borderou de evaluare (job #1986426)
Borderou de evaluare (job #1986426)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:19:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("socks.in", "r", stdin);
^
user.cpp:20:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("socks.out", "w", stdout);
^
user.cpp:25:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &N, &K);
^
user.cpp:31:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s %d", buf, &num);
^
user.cpp:59:31: warning: array subscript is below array bounds [-Warray-bounds]
ans -= grad[maxnod];
^
user.cpp:61:23: warning: array subscript is below array bounds [-Warray-bounds]
viz[maxnod] = 1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 4ms | 4460kb | OK | 10 | 0 |
2 | 4ms | 4464kb | Incorect | 0 |
3 | 4ms | 4468kb | Incorect | 0 |
4 | 12ms | 4484kb | Incorect | 0 |
5 | 20ms | 4492kb | OK | 10 |
6 | 28ms | 4500kb | Incorect | 0 |
7 | 28ms | 4484kb | Incorect | 0 |
8 | 28ms | 4504kb | Incorect | 0 |
9 | 24ms | 4488kb | Incorect | 0 |
10 | 20ms | 4500kb | OK | 10 |
Punctaj total | 0 |