Pagini recente » Borderou de evaluare (job #1763739) | Borderou de evaluare (job #2376760) | Borderou de evaluare (job #1752276) | Borderou de evaluare (job #896031) | Borderou de evaluare (job #1640053)
Borderou de evaluare (job #1640053)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:20:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.in","r",stdin);
^
user.c:21:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
freopen("texttrim.out","w",stdout);
^
user.c:24:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&cost[i]);
^
user.c:28:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c",&ch);
^
user.c:29:9: warning: ignoring return value of ‘gets’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir);
^
user.c:32:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&w);
^
/tmp/ccZqkWMc.o: In function `main':
user.c:(.text.startup+0x94): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 268kb | OK | 10 | 100 |
2 | 0ms | 272kb | OK | 10 |
3 | 0ms | 276kb | OK | 10 |
4 | 0ms | 272kb | OK | 10 |
5 | 0ms | 296kb | OK | 10 |
6 | 0ms | 460kb | OK | 10 |
7 | 4ms | 1232kb | OK | 10 |
8 | 12ms | 1240kb | OK | 10 |
9 | 4ms | 1244kb | OK | 10 |
10 | 4ms | 1244kb | OK | 10 |
Punctaj total | 100 |