Borderou de evaluare (job #1119356)

Utilizator Theorytheo .c Theory Data 24 februarie 2014 17:15:33
Problema Trompeta Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] if(s[i] >= St[St[0]]) ^ user.cpp:25:23: warning: array subscript has type ‘char’ [-Wchar-subscripts] St[++St[0]] = s[i]; ^ user.cpp:28:33: warning: array subscript has type ‘char’ [-Wchar-subscripts] fout << St[St[0]]; ^ user.cpp:30:28: warning: array subscript has type ‘char’ [-Wchar-subscripts] }while(St[St[0]] == St[--St[0]]); ^ user.cpp:30:43: warning: array subscript has type ‘char’ [-Wchar-subscripts] }while(St[St[0]] == St[--St[0]]); ^ user.cpp:30:43: warning: operation on ‘St[0]’ may be undefined [-Wsequence-point] user.cpp:22:13: warning: unused variable ‘ind’ [-Wunused-variable] int ind = i; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit352kbTime limit exceeded.0
2Depăşit356kbTime limit exceeded.0
3Depăşit356kbTime limit exceeded.0
4Depăşit352kbTime limit exceeded.0
5Depăşit356kbTime limit exceeded.0
6Depăşit456kbTime limit exceeded.0
7Depăşit452kbTime limit exceeded.0
8Depăşit1332kbTime limit exceeded.0
9Depăşit1328kbTime limit exceeded.0
10Depăşit1332kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?