Pagini recente » Borderou de evaluare (job #854776) | Borderou de evaluare (job #1713808) | Borderou de evaluare (job #882362) | Borderou de evaluare (job #1569640) | Borderou de evaluare (job #1569748)
Borderou de evaluare (job #1569748)
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:36:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s[i]==')') if (ch=='(') st.pop();
^
user.cpp:41: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 | 276kb | OK | 10 | 40 |
| 2 | 0ms | 268kb | OK | 10 |
| 3 | 0ms | 268kb | OK | 10 |
| 4 | 4ms | 276kb | OK | 10 |
| 5 | Depăşit | 296kb | Time limit exceeded. | 0 | 0 |
| 6 | Depăşit | 308kb | Time limit exceeded. | 0 | 0 |
| 7 | Depăşit | 336kb | Time limit exceeded. | 0 | 0 |
| 8 | Depăşit | 324kb | Time limit exceeded. | 0 | 0 |
| 9 | Depăşit | 320kb | Time limit exceeded. | 0 | 0 |
| 10 | Depăşit | 328kb | Time limit exceeded. | 0 | 0 |
| Punctaj total | 40 |