Borderou de evaluare (job #1647527)

Utilizator AttyyKucsvan Attila Attyy Data 10 martie 2016 20:58:58
Problema Xor Max Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 10

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘long unsigned int *’ [-Wformat=] scanf("%d", &n); ^ user.c:17:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 3 has type ‘int’ [-Wformat=] printf("%lu %lu %lu", ma[0], 1,1); ^ user.c:17:9: warning: format ‘%lu’ expects argument of type ‘long unsigned int’, but argument 4 has type ‘int’ [-Wformat=] user.c:8:80: warning: unused variable ‘h’ [-Wunused-variable] unsigned long int n, i, j, *ma, *also, *felso, *cs, maxi = 0, start, endd, h; ^ user.c:6:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("xormax.in", "r", stdin); ^ user.c:7:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("xormax.out", "w", stdout); ^ user.c:9:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ user.c:13:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%lu", ma+i); ^ user.c:36:73: warning: ‘start’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(also[j] >= maxi && (also[j] > maxi || endd > i+2 || endd - start > j + i + 3) ) ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms280kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
20ms280kbBine, Ionel!55
30ms284kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
4140ms392kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
5Depăşit664kbTime limit exceeded.00
6Depăşit748kbTime limit exceeded.00
7Depăşit752kbTime limit exceeded.00
8Depăşit756kbTime limit exceeded.00
9Depăşit768kbTime limit exceeded.00
10Depăşit712kbTime limit exceeded.00
110ms276kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
120ms284kbBine, Ionel!55
130ms284kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
14140ms396kbTrebuie sa mai muncesti daca vrei premiu ca Ionel00
15Depăşit656kbTime limit exceeded.00
16Depăşit760kbTime limit exceeded.0
17Depăşit752kbTime limit exceeded.0
18Depăşit752kbTime limit exceeded.00
19Depăşit752kbTime limit exceeded.0
20Depăşit712kbTime limit exceeded.0
Punctaj total10

Ceva nu functioneaza?