Pagini recente » Borderou de evaluare (job #1984803) | Borderou de evaluare (job #2907077) | Borderou de evaluare (job #40300) | Borderou de evaluare (job #3190280) | Borderou de evaluare (job #1574415)
Borderou de evaluare (job #1574415)
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:27:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s[i]=='*') if (i>0) {
^
user.cpp:51:9: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (s[i]==')') if (ch=='(') st.pop();
^
user.cpp:56: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 | 280kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 4ms | 280kb | OK | 10 |
5 | Depăşit | 304kb | Time limit exceeded. | 0 | 0 |
6 | Depăşit | 304kb | Time limit exceeded. | 0 | 0 |
7 | Depăşit | 340kb | Time limit exceeded. | 0 | 0 |
8 | Depăşit | 324kb | Time limit exceeded. | 0 | 0 |
9 | Depăşit | 328kb | Time limit exceeded. | 0 | 0 |
10 | Depăşit | 328kb | Time limit exceeded. | 0 | 0 |
Punctaj total | 40 |