Borderou de evaluare (job #1569769)

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

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
10ms276kbOK1040
20ms276kbOK10
30ms276kbOK10
44ms280kbOK10
5Depăşit300kbTime limit exceeded.00
6Depăşit300kbTime limit exceeded.00
7Depăşit332kbTime limit exceeded.00
8Depăşit324kbTime limit exceeded.00
9Depăşit328kbTime limit exceeded.00
10Depăşit324kbTime limit exceeded.00
Punctaj total40

Ceva nu functioneaza?