Pagini recente » Borderou de evaluare (job #2020168) | Borderou de evaluare (job #2720006) | Borderou de evaluare (job #2017414) | Borderou de evaluare (job #2080507) | Borderou de evaluare (job #2021147)
Borderou de evaluare (job #2021147)
Raport evaluator
Compilare:
user.c: In function ‘main’:
user.c:2:19: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("iunie.in", "r", stdin);freopen("iunie.out", "w", stdout);int n; scanf("%d", &n);printf("%d",n%2 == 1 ? 0 : n/4);return 0;}
^
user.c:2:51: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("iunie.in", "r", stdin);freopen("iunie.out", "w", stdout);int n; scanf("%d", &n);printf("%d",n%2 == 1 ? 0 : n/4);return 0;}
^
user.c:2:90: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result]
int main(){freopen("iunie.in", "r", stdin);freopen("iunie.out", "w", stdout);int n; scanf("%d", &n);printf("%d",n%2 == 1 ? 0 : n/4);return 0;}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 0ms | 264kb | OK | 10 | 100 |
2 | 0ms | 260kb | OK | 10 |
3 | 0ms | 260kb | OK | 10 |
4 | 0ms | 264kb | OK | 10 |
5 | 0ms | 268kb | OK | 10 |
6 | 0ms | 264kb | OK | 10 |
7 | 0ms | 260kb | OK | 10 |
8 | 0ms | 268kb | OK | 10 |
9 | 0ms | 268kb | OK | 10 |
10 | 0ms | 264kb | OK | 10 |
Punctaj total | 100 |