Pagini recente » Borderou de evaluare (job #215714) | Borderou de evaluare (job #3040975) | Borderou de evaluare (job #1732552) | Borderou de evaluare (job #1680102) | Borderou de evaluare (job #1605198)
Borderou de evaluare (job #1605198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:12:20: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[1000005]’ [-Wformat=]
scanf("%s" , &s);
^
user.cpp:44:27: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(st[top] == '(' && st[top - 1] == '(' || st[top] == '{' && st[top - 1] == '{' || st[top] == '[' && st[top - 1] == '[')
^
user.cpp:44:107: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if(st[top] == '(' && st[top - 1] == '(' || st[top] == '{' && st[top - 1] == '{' || st[top] == '[' && st[top - 1] == '[')
^
user.cpp:8:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze.in" , "r" , stdin);
^
user.cpp:9:44: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("paranteze.out" , "w" , stdout);
^
user.cpp:11:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n" , &n);
^
user.cpp:12:21: 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 |
1 | 0ms | 268kb | Incorect | 0 |
2 | 0ms | 268kb | Incorect | 0 |
3 | 0ms | 272kb | Incorect | 0 |
4 | 0ms | 272kb | Incorect | 0 |
5 | 0ms | 272kb | Incorect | 0 |
6 | 0ms | 276kb | Incorect | 0 |
7 | 0ms | 272kb | Incorect | 0 |
8 | 0ms | 272kb | Incorect | 0 |
9 | 0ms | 272kb | Incorect | 0 |
10 | 0ms | 268kb | Incorect | 0 |
11 | 0ms | 284kb | Incorect | 0 |
12 | 4ms | 300kb | Incorect | 0 |
13 | 12ms | 372kb | Incorect | 0 |
14 | 24ms | 464kb | Incorect | 0 |
15 | 80ms | 856kb | Incorect | 0 |
16 | 92ms | 952kb | Incorect | 0 |
17 | Depăşit | 1048kb | Time limit exceeded. | 0 |
18 | Depăşit | 1144kb | Time limit exceeded. | 0 |
19 | Depăşit | 1236kb | Time limit exceeded. | 0 |
20 | Depăşit | 1232kb | Time limit exceeded. | 0 |
Punctaj total | 0 |