Borderou de evaluare (job #778921)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Greieri (clasa a 5-a) Compilator c-32
Rundă Tema 43 Clasa a 5-a Status evaluat
Dată 29 mai 2024 18:58:49 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:12: warning: passing argument 1 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 11 | fscanf("%d%d",&n,&m); | ^~~~~~ | | | char * In file included from main.c:1: /usr/include/stdio.h:420:37: note: expected 'FILE * restrict' but argument is of type 'char *' 420 | extern int fscanf (FILE *__restrict __stream, | ~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:11:19: warning: passing argument 2 of 'fscanf' from incompatible pointer type [-Wincompatible-pointer-types] 11 | fscanf("%d%d",&n,&m); | ^~ | | | long long int * /usr/include/stdio.h:421:43: note: expected 'const char * restrict' but argument is of type 'long long int *' 421 | const char *__restrict __format, ...) __wur; | ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~ main.c:17:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 17 | fprintf(fout,"%d\n",n*(n-1)); | ~^ ~~~~~~~ | | | | int long long int | %lld main.c:6:11: warning: variable 'fin' set but not used [-Wunused-but-set-variable] 6 | FILE *fin, *fout; | ^~~ main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf("%d%d",&n,&m); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 409 ms 352 kb Time limit exceeded 0
2 408 ms 270 kb Time limit exceeded 0
3 407 ms 507 kb Time limit exceeded 0
4 409 ms 700 kb Time limit exceeded 0
5 409 ms 552 kb Time limit exceeded 0
6 406 ms 425 kb Time limit exceeded 0
7 409 ms 339 kb Time limit exceeded 0
8 408 ms 258 kb Time limit exceeded 0
9 404 ms 434 kb Time limit exceeded 0
10 404 ms 503 kb Time limit exceeded 0
Punctaj total 0