Borderou de evaluare (job #1824152)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve(int)’:
user.cpp:63:54: warning: operation on ‘copie’ may be undefined [-Wsequence-point]
if (s[p]=='(')++p,v[++copie] = solve(copie+1);
^
user.cpp:64:59: warning: operation on ‘copie’ may be undefined [-Wsequence-point]
else if (s[p]=='[')++p,v[++copie] = solve(copie+1);
^
user.cpp: In function ‘int main()’:
user.cpp:73:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie2.in","r",stdin);
^
user.cpp:74:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("expresie2.out","w",stdout);
^
user.cpp:76:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
/tmp/cc1iXVtR.o: In function `main':
user.cpp:(.text.startup+0x53): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 376kb | Time limit exceeded. | 0 |
2 | Depăşit | 404kb | Time limit exceeded. | 0 |
3 | Depăşit | 376kb | Time limit exceeded. | 0 |
4 | Depăşit | 376kb | Time limit exceeded. | 0 |
5 | Depăşit | 396kb | Time limit exceeded. | 0 |
6 | Depăşit | 544kb | Time limit exceeded. | 0 |
7 | Depăşit | 2160kb | Time limit exceeded. | 0 |
8 | Depăşit | 464kb | Time limit exceeded. | 0 |
9 | Depăşit | 396kb | Time limit exceeded. | 0 |
10 | Depăşit | 380kb | Time limit exceeded. | 0 |
11 | Depăşit | 464kb | Time limit exceeded. | 0 |
12 | Depăşit | 488kb | Time limit exceeded. | 0 |
13 | Depăşit | 444kb | Time limit exceeded. | 0 |
14 | Depăşit | 384kb | Time limit exceeded. | 0 |
15 | Depăşit | 580kb | Time limit exceeded. | 0 |
16 | Depăşit | 636kb | Time limit exceeded. | 0 |
17 | Depăşit | 632kb | Time limit exceeded. | 0 |
18 | Depăşit | 984kb | Time limit exceeded. | 0 |
19 | Depăşit | 528kb | Time limit exceeded. | 0 |
20 | Depăşit | 480kb | Time limit exceeded. | 0 |
Punctaj total | 0 |