Borderou de evaluare (job #1425245)

Utilizator FlorinHajaFlorin Gabriel Haja FlorinHaja Data 27 aprilie 2015 07:59:56
Problema Apel Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘long int eval(char, int&)’: user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:106:11: note: in expansion of macro ‘valuta’ while(valuta(F) == '+' || valuta(F) == '-') ^ user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:106:31: note: in expansion of macro ‘valuta’ while(valuta(F) == '+' || valuta(F) == '-') ^ user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:108:13: note: in expansion of macro ‘valuta’ if (valuta(F) == '+') ^ user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:110:18: note: in expansion of macro ‘valuta’ else if (valuta(F) == '-') ^ user.cpp: In function ‘long int termen(char, int&)’: user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:119:12: note: in expansion of macro ‘valuta’ while (valuta(G) == '/' || valuta(G) == '*') ^ user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:119:32: note: in expansion of macro ‘valuta’ while (valuta(G) == '/' || valuta(G) == '*') ^ user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:121:13: note: in expansion of macro ‘valuta’ if (valuta(G) == '/') ^ user.cpp:5:22: warning: array subscript has type ‘char’ [-Wchar-subscripts] #define valuta(x) a[x][R] ^ user.cpp:123:18: note: in expansion of macro ‘valuta’ else if (valuta(G) == '*') ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms368kbKilled by signal 11(SIGSEGV).0
20ms380kbKilled by signal 11(SIGSEGV).0
30ms384kbKilled by signal 11(SIGSEGV).0
4Depăşit376kbTime limit exceeded.0
5Depăşit404kbTime limit exceeded.0
6Depăşit368kbTime limit exceeded.0
70ms420kbKilled by signal 11(SIGSEGV).0
8Depăşit404kbTime limit exceeded.0
9Depăşit372kbTime limit exceeded.0
10Depăşit368kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?