Pagini recente » Borderou de evaluare (job #2778316) | Borderou de evaluare (job #2980752) | Borderou de evaluare (job #2145633) | Borderou de evaluare (job #1625755) | Borderou de evaluare (job #1574440)
Borderou de evaluare (job #1574440)
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 |
1 | 0ms | 252kb | OK | 10 | 40 |
2 | 0ms | 256kb | OK | 10 |
3 | 0ms | 252kb | OK | 10 |
4 | 0ms | 260kb | OK | 10 |
5 | Depăşit | 280kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 288kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 316kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 296kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 300kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 300kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 40 |