Pagini recente »
Borderou de evaluare (job #557414)
|
Borderou de evaluare (job #134339)
|
Borderou de evaluare (job #411583)
|
Borderou de evaluare (job #131619)
|
Borderou de evaluare (job #764857)
Borderou de evaluare (job #764857)
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
|