Borderou de evaluare (job #1645249)

Utilizator hackerliAndrei Ion hackerli Data 10 martie 2016 11:40:47
Problema Evaluarea unei expresii Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int numar()’: user.cpp:12:11: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[t]=='(') ^ user.cpp:20:18: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[t]>='0'&&s[t]<='9') ^ user.cpp:20:29: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[t]>='0'&&s[t]<='9') ^ user.cpp:22:26: warning: array subscript has type ‘char’ [-Wchar-subscripts] nr=nr*10+(s[t]-'0'); ^ user.cpp: In function ‘int op2()’: user.cpp:32:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[t]=='+'||s[t]=='-') ^ user.cpp:32:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[t]=='+'||s[t]=='-') ^ user.cpp:34:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[t]=='+') ^ user.cpp:39:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(s[t]=='/') ^ user.cpp: In function ‘int op1()’: user.cpp:51:14: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[t]=='*'||s[t]=='/') ^ user.cpp:51:25: warning: array subscript has type ‘char’ [-Wchar-subscripts] while(s[t]=='*'||s[t]=='/') ^ user.cpp:53:15: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[t]=='*') ^ user.cpp:58:20: warning: array subscript has type ‘char’ [-Wchar-subscripts] else if(s[t]=='/') ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit372kbTime limit exceeded.0
2Depăşit384kbTime limit exceeded.0
3Depăşit376kbTime limit exceeded.0
4Depăşit376kbTime limit exceeded.0
5Depăşit380kbTime limit exceeded.0
6Depăşit376kbTime limit exceeded.0
7Depăşit392kbTime limit exceeded.0
8Depăşit388kbTime limit exceeded.0
9Depăşit476kbTime limit exceeded.0
10Depăşit472kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?