Borderou de evaluare (job #1057059)

Utilizator UniversitateaTehnica_Zoltan_CzakoZoltan Czako UniversitateaTehnica_Zoltan_Czako Data 14 decembrie 2013 14:15:41
Problema Progresie Status done
Runda ONIS 2014, Runda 1 Compilator c | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.c: In function ‘main’: user.c:30:5: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] fscanf(in_file,"%d\n",&t); ^ user.c:34:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 3 has type ‘long unsigned int *’ [-Wformat=] fscanf(in_file,"%d %d\n",&n,&r); ^ user.c:34:9: warning: format ‘%d’ expects argument of type ‘int *’, but argument 4 has type ‘long unsigned int *’ [-Wformat=] user.c:35:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long unsigned int’ [-Wformat=] fprintf(out_file,"%d\n",calculate_first(n,r)); ^ user.c:37:9: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long unsigned int’ [-Wformat=] printf("%d\n",calculate_first(n,r)); ^ user.c:12:29: warning: variable ‘s’ set but not used [-Wunused-but-set-variable] unsigned long int t,n,r,s; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms236kbIncorect0
Punctaj total0

Ceva nu functioneaza?