Pagini recente » Borderou de evaluare (job #2975150) | Borderou de evaluare (job #3040151) | Borderou de evaluare (job #1729563) | Borderou de evaluare (job #2869481) | Borderou de evaluare (job #1057059)
Borderou de evaluare (job #1057059)
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 |
1 | 0ms | 236kb | Incorect | 0 |
Punctaj total | 0 |