Borderou de evaluare (job #1055436)

Utilizator asem_mazurean_ionMazurean Ion asem_mazurean_ion Data 14 decembrie 2013 11:24:44
Problema Pufu Status done
Runda ONIS 2014, Runda 1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:8:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] fscanf(f,"%d",&t); ^ user.c:9:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] fscanf(f,"%d",&n); ^ user.c:10:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d %d",t,n); ^ user.c:10:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] user.c:12:19: warning: format ‘%s’ expects argument of type ‘char *’, but argument 3 has type ‘char (*)[20]’ [-Wformat=] fscanf(f,"%s",&line); ^ user.c:22:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] fprintf(f,"%d %d %d",ct,cs,sr); ^ user.c:22:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 4 has type ‘long unsigned int’ [-Wformat=] user.c:22:5: warning: format ‘%d’ expects argument of type ‘int’, but argument 5 has type ‘long unsigned int’ [-Wformat=] user.c:5:27: warning: unused variable ‘i’ [-Wunused-variable] unsigned long int t,n,i,s,sr=0,ct=0,cs=0,r; ^ user.c:16:19: warning: ‘r’ may be used uninitialized in this function [-Wmaybe-uninitialized] switch(r){ ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms240kbIncorect0
Punctaj total0

Ceva nu functioneaza?