Borderou de evaluare (job #1449937)

Utilizator electro09dan jurj electro09 Data 10 iunie 2015 23:09:16
Problema ZParcurgere Status done
Runda Arhiva de probleme Compilator c | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.c:27:6: error: conflicting types for ‘div’ void div(int x1, int y1, int x2, int y2) ^ In file included from user.c:2:0: /usr/include/stdlib.h:785:14: note: previous declaration of ‘div’ was here extern div_t div (int __numer, int __denom) ^ user.c:46:6: warning: return type of ‘main’ is not ‘int’ [-Wmain] void main() ^ user.c: In function ‘citire’: user.c:10:8: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d", &n, &k); ^ user.c:15:9: warning: ignoring return value of ‘fscanf’, declared with attribute warn_unused_result [-Wunused-result] fscanf(in, "%d %d", &nr[i][0], &nr[i][1]); ^

Ceva nu functioneaza?