Submisie


Utilizator
Problema
Data
Compilator
Scor
19 Octombrie 2024, 13:48
c++14
73.0

Mesaj compilare

        main.cpp: In function ‘long long unsigned int cnt(int, int)’:
main.cpp:13:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   13 |     for(int i = 1; i <= n; i++){
      |                    ~~^~~~
main.cpp:14:17: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
   14 |         if(a[i] <= y && a[i] >= x) k++;
      |            ~~~~~^~~~
main.cpp:14:30: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
   14 |         if(a[i] <= y && a[i] >= x) k++;
      |                         ~~~~~^~~~
main.cpp: In function ‘int main()’:
main.cpp:25:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
   25 |     for(int i = 1; i <= n; i++)
      |                    ~~^~~~

    

Detalii evaluare

Subtask
Test
Mesaj evaluator
Timp execuție
Memorie
1, 2, 3, 4
1
correct
0,001
176KB
1, 2, 3, 4
2
correct
0,001
176KB
1, 2, 3, 4
3
correct
0,0
176KB
1, 2, 3, 4
4
correct
0,0
176KB
2, 3, 4
5
correct
0,001
176KB
2, 3, 4
6
correct
0,001
176KB
2, 3, 4
7
correct
0,0
176KB
2, 3, 4
8
correct
0,001
176KB
3, 4
9
correct
0,002
651KB
3, 4
10
correct
0,003
700KB
3, 4
11
correct
0,009
974KB
3, 4
12
correct
0,007
1.0MB
3, 4
13
correct
0,004
700KB
3, 4
14
correct
0,004
716KB
3, 4
15
correct
0,004
700KB
3, 4
16
correct
0,004
729KB
3, 4
17
correct
0,006
622KB
3, 4
18
correct
0,005
704KB
3, 4
19
correct
0,005
708KB
3, 4
20
correct
0,004
638KB
3, 4
21
correct
0,003
700KB
3, 4
22
correct
0,005
659KB
3, 4
23
correct
0,005
700KB
3, 4
24
correct
0,002
700KB
3, 4
25
correct
0,003
700KB
3, 4
26
correct
0,005
737KB
3, 4
27
correct
0,011
1.09MB
3, 4
28
correct
0,008
1.01MB
3, 4
29
correct
0,01
1.09MB
4
30
wrong
0,017
1.9MB
4
31
wrong
0,018
2.01MB
4
32
wrong
0,017
1.92MB
4
33
wrong
0,018
1.92MB
4
34
wrong
0,018
1.99MB
4
35
wrong
0,018
1.97MB
4
36
wrong
0,018
1.95MB
4
37
wrong
0,018
1.96MB
4
38
wrong
0,017
1.96MB
4
39
wrong
0,018
1.97MB
4
40
wrong
0,017
1.93MB
4
41
wrong
0,018
1.92MB
4
42
wrong
0,018
1.97MB
4
43
wrong
0,017
2.01MB
4
44
wrong
0,018
1.82MB
4
45
wrong
0,018
1.9MB

Subtask
Scor
Scor maxim
1
16,0
16
2
21,0
21
3
36,0
36
4
0,0
27