Pagini recente » Borderou de evaluare (job #1099027) | Borderou de evaluare (job #1057364) | Borderou de evaluare (job #1630545) | Borderou de evaluare (job #1037603) | Borderou de evaluare (job #1569766)
Borderou de evaluare (job #1569766)
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 |
1 | 0ms | 272kb | Incorect | 0 | 0 |
2 | 0ms | 272kb | Incorect | 0 |
3 | 0ms | 276kb | Incorect | 0 |
4 | 4ms | 284kb | Incorect | 0 |
5 | Depăşit | 300kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 304kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 328kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 328kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 324kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 332kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 0 |