Borderou de evaluare (job #1465890)

Utilizator buru_wirelessWire Less buru_wireless Data 28 iulie 2015 10:54:27
Problema Ccount Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:26:20: warning: suggest parentheses around comparison in operand of ‘&’ [-Wparentheses] if (GET(i) == 0) ^ user.c:29:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d\n", DP[n] % MOD); ^ user.c:14:18: warning: unused variable ‘r’ [-Wunused-variable] int n, k, p, r = 0, i; ^ user.c:16:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ccount.in", "r", stdin); ^ user.c:17:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("ccount.out", "w", stdout); ^ user.c:19:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &k); ^ user.c:21:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &p); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms260kbIncorect0
20ms252kbIncorect0
30ms264kbIncorect0
40ms260kbIncorect0
50ms268kbIncorect0
Punctaj total0

Ceva nu functioneaza?