Borderou de evaluare (job #811548)

Utilizator avatar RaMiDra Dragulescu Rares Mihai RaMiDra IP ascuns
Problemă Vânătoare ( clasa a 6-a) Compilator c-32
Rundă Simulare OJI clasa a 6-a 2025 Status evaluat
Dată 25 feb. 2025 18:06:26 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:11:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 11 | fscanf(fin, "%d%d", &ka, &kn); | ~^ ~~~ | | | | int * long long int * | %lld main.c:11:21: warning: format '%d' expects argument of type 'int *', but argument 4 has type 'long long int *' [-Wformat=] 11 | fscanf(fin, "%d%d", &ka, &kn); | ~^ ~~~ | | | | int * long long int * | %lld main.c:32:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 32 | fprintf(fout, "%d\n%d\n%d", stol, ka, kn); | ~^ ~~~~ | | | | int long long int | %lld main.c:32:25: warning: format '%d' expects argument of type 'int', but argument 4 has type 'long long int' [-Wformat=] 32 | fprintf(fout, "%d\n%d\n%d", stol, ka, kn); | ~^ ~~ | | | | int long long int | %lld main.c:32:29: warning: format '%d' expects argument of type 'int', but argument 5 has type 'long long int' [-Wformat=] 32 | fprintf(fout, "%d\n%d\n%d", stol, ka, kn); | ~^ ~~ | | | | int long long int | %lld main.c:11:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 11 | fscanf(fin, "%d%d", &ka, &kn); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb Incorect 0
2 1 ms 245 kb Incorect 0
3 1 ms 245 kb Incorect 0
4 1 ms 245 kb Incorect 0
5 1 ms 245 kb Incorect 0
6 1 ms 245 kb Incorect 0
7 1 ms 245 kb Incorect 0
8 1 ms 507 kb Incorect 0
9 1 ms 266 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 0