Borderou de evaluare (job #812468)

Utilizator avatar Luca_Grigore Luca Grigore Luca_Grigore IP ascuns
Problemă Palindrom 2 (clasa a 5-a) Compilator c-32
Rundă Concurs 05 | IQ Academy | clasa a 5-a Status evaluat
Dată 4 mar. 2025 10:32:30 Scor 0

Raport evaluator

Compilare: main.c: In function 'main': main.c:8:17: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'long long int *' [-Wformat=] 8 | fscanf(fin, "%d", &c); | ~^ ~~ | | | | | long long int * | int * | %lld 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", &n); | ~^ ~~ | | | | | 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:45:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 45 | fprintf(fout, "%d", contpal); | ~^ ~~~~~~~ | | | | int long long int | %lld main.c:48:21: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 48 | fprintf(fout, "%d", contaprpal); | ~^ ~~~~~~~~~~ | | | | int long long int | %lld main.c:47:4: warning: this 'if' clause does not guard... [-Wmisleading-indentation] 47 | if(c==2) | ^~ main.c:50:5: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'if' 50 | return 0; | ^~~~~~ main.c:8:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 8 | fscanf(fin, "%d", &c); | ^~~~~~~~~~~~~~~~~~~~~ main.c:9:3: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d", &n); | ^~~~~~~~~~~~~~~~~~~~~ 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 1 ms 249 kb Incorect 0
2 1 ms 512 kb Incorect 0
3 1 ms 512 kb Incorect 0
4 1 ms 249 kb Incorect 0
5 1 ms 512 kb Incorect 0
6 1 ms 249 kb Incorect 0
7 1 ms 512 kb Incorect 0
8 1 ms 270 kb Incorect 0
9 1 ms 249 kb Incorect 0
10 1 ms 249 kb Incorect 0
11 1 ms 249 kb Incorect 0
12 1 ms 249 kb Incorect 0
13 1 ms 249 kb Incorect 0
14 1 ms 249 kb Incorect 0
15 1 ms 249 kb Incorect 0
16 1 ms 249 kb Incorect 0
17 1 ms 249 kb Incorect 0
18 1 ms 249 kb Incorect 0
19 1 ms 249 kb Incorect 0
20 1 ms 512 kb Incorect 0
21 1 ms 249 kb Incorect 0
22 1 ms 249 kb Incorect 0
23 1 ms 249 kb Incorect 0
24 1 ms 249 kb Incorect 0
25 1 ms 249 kb Incorect 0
26 1 ms 249 kb Incorect 0
27 1 ms 249 kb Incorect 0
28 1 ms 249 kb Incorect 0
29 1 ms 249 kb Incorect 0
30 1 ms 249 kb Incorect 0
31 1 ms 512 kb Incorect 0
32 1 ms 249 kb Incorect 0
33 1 ms 249 kb Incorect 0
34 1 ms 249 kb Incorect 0
35 1 ms 249 kb Incorect 0
36 1 ms 249 kb Incorect 0
37 1 ms 249 kb Incorect 0
38 1 ms 249 kb Incorect 0
39 1 ms 249 kb Incorect 0
40 1 ms 270 kb Incorect 0
41 1 ms 249 kb Incorect 0
42 3 ms 249 kb Incorect 0
43 1 ms 249 kb Incorect 0
44 1 ms 249 kb Incorect 0
45 1 ms 249 kb Incorect 0
46 1 ms 249 kb Incorect 0
47 1 ms 249 kb Incorect 0
48 1 ms 249 kb Incorect 0
49 1 ms 249 kb Incorect 0
50 1 ms 249 kb Incorect 0
Punctaj total 0