Borderou de evaluare (job #1569766)

Utilizator radudurlesteanuDurlesteanu Radu Stefan radudurlesteanu Data 15 ianuarie 2016 21:38:50
Problema Editor Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:16:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[60000]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:19:10: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]=='*') if (i>0) { ^ user.cpp:44:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]==')') if (ch=='(') st.pop(); ^ user.cpp:49:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]==']') if (ch=='[') st.pop(); ^ user.cpp:10:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("editor.in","r",stdin); ^ user.cpp:11:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("editor.out","w",stdout); ^ user.cpp:12:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:16:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms272kbIncorect00
20ms272kbIncorect0
30ms276kbIncorect0
44ms284kbIncorect0
5Depăşit300kbTime limit exceeded.00
6Depăşit304kbTime limit exceeded.00
7Depăşit328kbTime limit exceeded.00
8Depăşit328kbTime limit exceeded.00
9Depăşit324kbTime limit exceeded.00
10Depăşit332kbTime limit exceeded.00
Punctaj total0

Ceva nu functioneaza?