Borderou de evaluare (job #748254)

Utilizator avatar ilincamanescu manescu ilinca ilincamanescu IP ascuns
Problemă Bancomat (clasa a 5-a) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 29 nov. 2023 18:13:05 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:17: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 9 | fscanf(fin, "%d",&a); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:10:17: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 10 | fscanf(fin, "%d",&i); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:12:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 12 | fscanf(fin, "%d",&x); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:22:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 22 | fprintf(fout, "%d",a); | ~^ ~ | | | | | long long int | int | %lld main.c:7:21: warning: unused variable 'p' [-Wunused-variable] 7 | long long int a,b,p=0,i,x; | ^ main.c:7:19: warning: unused variable 'b' [-Wunused-variable] 7 | long long int a,b,p=0,i,x; | ^ main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d",&a); | ^~~~~~~~~~~~~~~~~~~~ main.c:10:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%d",&i); | ^~~~~~~~~~~~~~~~~~~~ main.c:12:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 12 | fscanf(fin, "%d",&x); | ^~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 109 ms 249 kb Time limit exceeded 0
2 109 ms 249 kb Time limit exceeded 0
3 109 ms 249 kb Time limit exceeded 0
4 109 ms 249 kb Time limit exceeded 0
5 109 ms 249 kb Time limit exceeded 0
6 109 ms 249 kb Time limit exceeded 0
7 109 ms 249 kb Time limit exceeded 0
8 116 ms 249 kb Time limit exceeded 0
9 109 ms 270 kb Time limit exceeded 0
10 109 ms 249 kb Time limit exceeded 0
Punctaj total 0