Borderou de evaluare (job #2774444)
Raport evaluator
Compilare:
main.c: In function 'main':
main.c:10:11: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
if(o)
^
main.c:5:5: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.in","r",stdin),freopen("permutari.out","w",stdout),scanf("%d",&n);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:5:39: warning: ignoring return value of 'freopen', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.in","r",stdin),freopen("permutari.out","w",stdout),scanf("%d",&n);
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:5:75: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
freopen("permutari.in","r",stdin),freopen("permutari.out","w",stdout),scanf("%d",&n);
^~~~~~~~~~~~~~
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 20 |
2 | 2ms | 131kb | OK | 20 |
3 | 3ms | 131kb | OK | 20 |
4 | 14ms | 131kb | OK | 20 |
5 | 104ms | 786kb | OK | 20 |
Punctaj total | 100 |