Borderou de evaluare (job #1295825)

Utilizator hrazvanHarsan Razvan hrazvan Data 20 decembrie 2014 11:47:50
Problema Expresie2 Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘num’: user.c:21:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(sir[p] == '-'){ ^ user.c:25:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(sir[p] >= '0' && sir[p] <= '9'){ ^ user.c:25:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:27:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr += sir[p] - '0'; ^ user.c: In function ‘med’: user.c:59:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(sir[p] != ']'){ ^ user.c:61:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(sir[p] != ']') ^ user.c: In function ‘subsecv’: user.c:71:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(sir[p] != ')'){ ^ user.c:73:5: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(sir[p] != ')') ^ user.c: In function ‘term’: user.c:88:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(sir[p] == '('){ ^ user.c:92:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(sir[p] == '['){ ^ user.c: In function ‘expr’: user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] while((sir[p] >= '0' && sir[p] <= '9') || sir[p] == ',' || sir[p] == '(' || sir[p] == ')' || sir[p] == '[' || sir[p] == ']' || sir[p] == '-'){ ^ user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c:103:3: warning: array subscript has type ‘char’ [-Wchar-subscripts] user.c: In function ‘main’: user.c:113:8: warning: ignoring return value of ‘fgets’, declared with attribute warn_unused_result [-Wunused-result] fgets(sir, MAXN + 1, in); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms228kbRaspuns gresit0
20ms232kbRaspuns gresit0
3Depăşit4664kbTime limit exceeded.0
40ms280kbKilled by signal 11(SIGSEGV).0
5Depăşit8400kbTime limit exceeded.0
60ms288kbKilled by signal 11(SIGSEGV).0
712ms8480kbKilled by signal 11(SIGSEGV).0
828ms8396kbKilled by signal 11(SIGSEGV).0
90ms292kbKilled by signal 11(SIGSEGV).0
100ms316kbKilled by signal 11(SIGSEGV).0
110ms352kbKilled by signal 11(SIGSEGV).0
12Depăşit8472kbTime limit exceeded.0
130ms364kbKilled by signal 11(SIGSEGV).0
14Depăşit228kbTime limit exceeded.0
150ms376kbKilled by signal 11(SIGSEGV).0
160ms368kbKilled by signal 11(SIGSEGV).0
170ms320kbRaspuns gresit0
180ms372kbKilled by signal 11(SIGSEGV).0
19Depăşit4564kbTime limit exceeded.0
20Depăşit4488kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?