Borderou de evaluare (job #1522220)

Utilizator theprdvtheprdv theprdv Data 11 noiembrie 2015 13:37:21
Problema Curse de cai Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘next_step’: user.c:27:29: warning: value computed is not used [-Wunused-value] !eq_pos && A[i] == B[idx] && (eq_pos = i); /* check for equal case */ ^ user.c:28:14: warning: value computed is not used [-Wunused-value] !worst_pos && (worst_pos = i); /* take the worst case */ ^ user.c: In function ‘main’: user.c:64:12: warning: variable ‘earn’ set but not used [-Wunused-but-set-variable] int i, earn; ^ user.c:61:12: warning: ignoring return value of ‘freopen’, declared with attribute warn_unused_result [-Wunused-result] freopen("cai.out", "w", stdout); ^ user.c:66:10: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &T); ^ user.c:69:14: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &N); ^ user.c:72:39: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] for (i = 1; i <= N; ++i) scanf("%d", &A[i]); ^ user.c:73:39: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] for (i = 1; i <= N; ++i) scanf("%d", &B[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
1Depăşit340kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?