Pagini recente » Borderou de evaluare (job #1651068) | Borderou de evaluare (job #3207677) | Borderou de evaluare (job #1990864) | Borderou de evaluare (job #1134090) | Borderou de evaluare (job #1824157)
Borderou de evaluare (job #1824157)
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:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 420kb | OK | 5 |
| 2 | 0ms | 448kb | OK | 5 |
| 3 | 0ms | 428kb | OK | 5 |
| 4 | 0ms | 424kb | OK | 5 |
| 5 | 0ms | 444kb | OK | 5 |
| 6 | 0ms | 588kb | OK | 5 |
| 7 | 4ms | 2208kb | OK | 5 |
| 8 | 0ms | 512kb | OK | 5 |
| 9 | 0ms | 440kb | OK | 5 |
| 10 | 0ms | 436kb | OK | 5 |
| 11 | 0ms | 512kb | OK | 5 |
| 12 | 0ms | 532kb | OK | 5 |
| 13 | 0ms | 488kb | OK | 5 |
| 14 | 0ms | 436kb | OK | 5 |
| 15 | 0ms | 636kb | OK | 5 |
| 16 | 0ms | 688kb | OK | 5 |
| 17 | 0ms | 676kb | OK | 5 |
| 18 | 0ms | 1032kb | OK | 5 |
| 19 | 0ms | 580kb | OK | 5 |
| 20 | 0ms | 528kb | OK | 5 |
| Punctaj total | 100 |