Pagini recente » Borderou de evaluare (job #1367223) | Borderou de evaluare (job #2372411) | Borderou de evaluare (job #1468362) | Borderou de evaluare (job #171558) | Borderou de evaluare (job #1466629)
Borderou de evaluare (job #1466629)
Raport evaluator
Compilare:
user.cpp: In function ‘int calc(int, int)’:
user.cpp:81:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:84:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.in","r",stdin);
^
user.cpp:85:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("evaluare.out","w",stdout);
^
user.cpp: In function ‘int calc(int, int)’:
user.cpp:68:48: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return calc(st,poz-1)*calc(poz+1,dr);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 396kb | OK | 10 |
| 2 | 0ms | 392kb | OK | 10 |
| 3 | 0ms | 396kb | OK | 10 |
| 4 | 0ms | 392kb | OK | 10 |
| 5 | 0ms | 400kb | OK | 10 |
| 6 | 0ms | 392kb | OK | 10 |
| 7 | 0ms | 404kb | OK | 10 |
| 8 | 0ms | 408kb | OK | 10 |
| 9 | 20ms | 516kb | OK | 10 |
| 10 | 12ms | 752kb | OK | 10 |
| Punctaj total | 100 |