Borderou de evaluare (job #1574440)

Utilizator radudurlesteanuDurlesteanu Radu Stefan radudurlesteanu Data 20 ianuarie 2016 16:30:27
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:20:17: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[60001]’ [-Wformat=] scanf("%s",&s); ^ user.cpp:32:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]=='*') if (i>0) { ^ user.cpp:56:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]==')') if (ch=='(') vf--; ^ user.cpp:61:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses] if (s[i]==']') if (ch=='[') vf--; ^ user.cpp:12: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:13: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:14:15: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:20: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
10ms252kbOK1040
20ms256kbOK10
30ms252kbOK10
40ms260kbOK10
5Depăşit280kbTime limit exceeded.00
6Depăşit288kbTime limit exceeded.00
7Depăşit316kbTime limit exceeded.00
8Depăşit296kbTime limit exceeded.00
9Depăşit300kbTime limit exceeded.00
10Depăşit300kbTime limit exceeded.00
Punctaj total40

Ceva nu functioneaza?