Borderou de evaluare (job #1351794)

Utilizator Organized_chaosUPB Ciucu Hirgau Magirdicean Organized_chaos Data 21 februarie 2015 11:33:37
Problema Por Costel si Livada Status done
Runda ONIS 2015, Runda 1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:35:3: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(out, "%d\n", (dp[0] - 1 + modulo) % modulo); ^ user.c:9:18: warning: unused variable ‘k’ [-Wunused-variable] int t, n, i, j, k; ^ user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &t); ^ user.c:13:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &n); ^ user.c:17:10: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d", &v[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms168kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?