Borderou de evaluare (job #764857)

Utilizator avatar Gavriliu.Adam Adam Gavriliu Robert Gavriliu.Adam IP ascuns
Problemă Exponent (clasa a 5-a) Compilator c-32
Rundă Concurs 04 | IQ Academy | clasa a 5-a Status evaluat
Dată 25 feb. 2024 13:27:46 Scor 60

Raport evaluator

Compilare: main.c: In function 'main': main.c:19:29: warning: result of '2^31' is 29; did you mean '1LL << 31'? [-Wxor-used-as-pow] 19 | if (d == k && m < (2^31)) { | ^ | -- | 1LL<< main.c:19:28: note: you can silence this warning by using a hexadecimal constant (0x2 rather than 2) 19 | if (d == k && m < (2^31)) { | ^ | 0x2 main.c:20:29: warning: format '%d' expects argument of type 'int', but argument 3 has type 'long long int' [-Wformat=] 20 | fprintf(fout, "%d", m); | ~^ ~ | | | | int long long int | %lld main.c:23:29: warning: result of '2^31' is 29; did you mean '1LL << 31'? [-Wxor-used-as-pow] 23 | if (d == k && m > (2^31)) { | ^ | -- | 1LL<< main.c:23:28: note: you can silence this warning by using a hexadecimal constant (0x2 rather than 2) 23 | if (d == k && m > (2^31)) { | ^ | 0x2 main.c:9:5: warning: ignoring return value of 'fscanf' declared with attribute 'warn_unused_result' [-Wunused-result] 9 | fscanf(fin, "%d%d", &n, &k); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Test Timp execuție Memorie folosită Mesaj Punctaj/test
1 1 ms 245 kb OK 10
2 1 ms 245 kb OK 10
3 1 ms 245 kb OK 10
4 1 ms 245 kb OK 10
5 1 ms 245 kb OK 10
6 1 ms 245 kb OK 10
7 1 ms 245 kb Incorect 0
8 1 ms 245 kb Incorect 0
9 1 ms 245 kb Incorect 0
10 1 ms 245 kb Incorect 0
Punctaj total 60