Borderou de evaluare (job #610945)

Utilizator avatar kalkhoff rusev alexandr kalkhoff IP ascuns
Problemă Taxe (clasa a 7-a) Compilator cpp-32
Rundă lasm_19_10_2021_clasa12 Status evaluat
Dată 19 oct. 2021 12:50:47 Scor 20

Raport evaluator

Compilare: main.cpp: In function 'int main()': main.cpp:18:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 18 | fprintf(fout, "%d", x); | ~^ ~ | | | | int long long int | %lld main.cpp:20:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 20 | fprintf(fout, "%d", x + 1); | ~^ ~~~~~ | | | | int long long int | %lld main.cpp:22:25: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 22 | fprintf(fout, "%d", x - 1); | ~^ ~~~~~ | | | | int long long int | %lld main.cpp:10:11: warning: ignoring return value of 'int fscanf(FILE*, const char*, ...)' declared with attribute 'warn_unused_result' [-Wunused-result] 10 | fscanf(fin, "%lld", &s); | ~~~~~~^~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 131 kb OK 10
2 1 ms 131 kb OK 10
3 1 ms 131 kb Incorect 0
4 1 ms 131 kb Incorect 0
5 1 ms 131 kb Incorect 0
6 1 ms 131 kb Incorect 0
7 1 ms 131 kb Incorect 0
8 1 ms 131 kb Incorect 0
9 1 ms 131 kb Incorect 0
10 1 ms 131 kb Incorect 0
Punctaj total 20