Borderou de evaluare (job #753394)

Utilizator avatar Vicentiu Savu Vicentiu Dorian Vicentiu IP ascuns
Problemă Plus (clasa a 5-a) Compilator c-32
Rundă Tema 19 clasa a 5-a Status evaluat
Dată 31 dec. 2023 13:01:57 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:9:18: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 9 | fscanf(fin,"%d", &n); | ~^ ~~ | | | | | long long int * | int * | %lld main.c:20:22: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 20 | printf("%d ", n); | ~^ ~ | | | | int long long int | %lld main.c:23:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 23 | printf("1 ----> %d\n", nr); | ~^ ~~ | | | | int long long int | %lld main.c:28:30: warning: format '%d' expects argument of type 'int', but argument 2 has type 'long long int' [-Wformat=] 28 | printf("2 ----> %d\n", nr); | ~^ ~~ | | | | int long long int | %lld main.c:36:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 36 | fprintf(fout, "%d\n%d", cn, nr*cif-cif+2); | ~^ ~~ | | | | int long long int | %lld main.c:36:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 36 | fprintf(fout, "%d\n%d", cn, nr*cif-cif+2); | ~^ ~~~~~~~~~~~~ | | | | int long long int | %lld main.c:38:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 38 | fprintf(fout, "%d\n%d", cn, nr); | ~^ ~~ | | | | int long long int | %lld main.c:38:29: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 38 | fprintf(fout, "%d\n%d", cn, nr); | ~^ ~~ | | | | int long long int | %lld
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
2 1 ms 241 kb 1) linie incorecta; 2) linie incorecta; 0
3 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
4 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
5 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
6 2 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
7 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
8 1 ms 266 kb 1) linie incorecta; 2) linie incorecta; 0
9 1 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
10 2 ms 245 kb 1) linie incorecta; 2) linie incorecta; 0
Punctaj total 0