Borderou de evaluare (job #596350)

Utilizator avatar mateilb1234 Matei Balaur mateilb1234 IP ascuns
Problemă Numere5 (clasele 5-8) Compilator c-32
Rundă Arhiva de probleme Status evaluat
Dată 16 apr. 2021 20:35:45 Scor 3

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long unsigned int *' [-Wformat=] 8 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n); | ~^ ~~ | | | | int * long long unsigned int * | %lld main.c:8:20: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long unsigned int *' [-Wformat=] 8 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n); | ~^ ~~ | | | | int * long long unsigned int * | %lld main.c:8:22: warning: format '%d' expects argument of type 'int *', but argument 5 has type 'long long unsigned int *' [-Wformat=] 8 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n); | ~^ ~~ | | | | int * long long unsigned int * | %lld main.c:8:24: warning: format '%d' expects argument of type 'int *', but argument 6 has type 'long long unsigned int *' [-Wformat=] 8 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n); | ~^ ~~ | | | | int * long long unsigned int * | %lld main.c:8:26: warning: format '%d' expects argument of type 'int *', but argument 7 has type 'long long unsigned int *' [-Wformat=] 8 | fscanf(fin,"%d%d%d%d%d",&k,&x,&i,&m,&n); | ~^ ~~ | | | | int * long long unsigned int * | %lld main.c:20:20: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long unsigned int' [-Wformat=] 20 | fprintf(fout,"%d\n%d\n%d",pozx,vali,nnum); | ~^ ~~~~ | | | | int long long unsigned int | %lld main.c:20:24: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long unsigned int' [-Wformat=] 20 | fprintf(fout,"%d\n%d\n%d",pozx,vali,nnum); | ~^ ~~~~ | | | | int long long unsigned int | %lld main.c:20:28: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long unsigned int' [-Wformat=] 20 | fprintf(fout,"%d\n%d\n%d",pozx,vali,nnum); | ~^ ~~~~ | | | | int long long unsigned int | %lld main.c:8:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result]
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 262 kb a)OK!b)GRESIT!c)GRESIT! 3
2 1 ms 262 kb GRESIT! 0
3 1 ms 262 kb GRESIT! 0
4 1 ms 262 kb GRESIT! 0
5 2 ms 262 kb GRESIT! 0
6 1 ms 262 kb GRESIT! 0
7 1 ms 262 kb GRESIT! 0
8 1 ms 262 kb GRESIT! 0
9 2 ms 262 kb GRESIT! 0
10 1 ms 262 kb GRESIT! 0
Punctaj total 3