Utilizator |
Problema |
Data |
Compilator |
Scor |
|---|---|---|---|---|
19 Octombrie 2024, 21:37 |
c++14 |
73.0 |
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] >= x && a[i] <= y){
| ~~~~~^~~~
main.cpp:14:30: warning: comparison of integer expressions of different signedness: ‘long long unsigned int’ and ‘int’ [-Wsign-compare]
14 | if(a[i] >= x && a[i] <= y){
| ~~~~~^~~~
main.cpp: In function ‘int main()’:
main.cpp:27:22: warning: comparison of integer expressions of different signedness: ‘int’ and ‘long long unsigned int’ [-Wsign-compare]
27 | for(int i = 1; i <= n; i++)
| ~~^~~~
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,001 |
176KB |
|
1,
2,
3,
4
|
4
|
correct |
0,001 |
176KB |
|
2,
3,
4
|
5
|
correct |
0,001 |
176KB |
|
2,
3,
4
|
6
|
correct |
0,0 |
176KB |
|
2,
3,
4
|
7
|
correct |
0,001 |
176KB |
|
2,
3,
4
|
8
|
correct |
0,001 |
176KB |
|
3,
4
|
9
|
correct |
0,004 |
700KB |
|
3,
4
|
10
|
correct |
0,004 |
729KB |
|
3,
4
|
11
|
correct |
0,007 |
1.06MB |
|
3,
4
|
12
|
correct |
0,01 |
1.04MB |
|
3,
4
|
13
|
correct |
0,005 |
700KB |
|
3,
4
|
14
|
correct |
0,008 |
991KB |
|
3,
4
|
15
|
correct |
0,004 |
700KB |
|
3,
4
|
16
|
correct |
0,005 |
720KB |
|
3,
4
|
17
|
correct |
0,002 |
700KB |
|
3,
4
|
18
|
correct |
0,004 |
700KB |
|
3,
4
|
19
|
correct |
0,002 |
671KB |
|
3,
4
|
20
|
correct |
0,004 |
700KB |
|
3,
4
|
21
|
correct |
0,005 |
700KB |
|
3,
4
|
22
|
correct |
0,002 |
700KB |
|
3,
4
|
23
|
correct |
0,004 |
700KB |
|
3,
4
|
24
|
correct |
0,006 |
700KB |
|
3,
4
|
25
|
correct |
0,003 |
700KB |
|
3,
4
|
26
|
correct |
0,006 |
700KB |
|
3,
4
|
27
|
correct |
0,007 |
1.06MB |
|
3,
4
|
28
|
correct |
0,008 |
1.06MB |
|
3,
4
|
29
|
correct |
0,007 |
1.02MB |
|
4
|
30
|
wrong |
0,017 |
1.89MB |
|
4
|
31
|
wrong |
0,018 |
1.9MB |
|
4
|
32
|
wrong |
0,017 |
1.91MB |
|
4
|
33
|
wrong |
0,018 |
1.97MB |
|
4
|
34
|
wrong |
0,018 |
2.0MB |
|
4
|
35
|
wrong |
0,018 |
1.99MB |
|
4
|
36
|
wrong |
0,017 |
2.0MB |
|
4
|
37
|
wrong |
0,018 |
1.86MB |
|
4
|
38
|
wrong |
0,018 |
1.98MB |
|
4
|
39
|
wrong |
0,017 |
2.0MB |
|
4
|
40
|
wrong |
0,017 |
1.93MB |
|
4
|
41
|
wrong |
0,017 |
1.91MB |
|
4
|
42
|
wrong |
0,018 |
1.86MB |
|
4
|
43
|
wrong |
0,017 |
2.0MB |
|
4
|
44
|
wrong |
0,018 |
2.0MB |
|
4
|
45
|
wrong |
0,018 |
2.01MB |
Subtask |
Scor |
Scor maxim |
|---|---|---|
1 |
16,0 |
16
|
2 |
21,0 |
21
|
3 |
36,0 |
36
|
4 |
0,0 |
27
|