QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#503937 | #2797. City of Lights | xiaowuc1 | AC ✓ | 75ms | 4588kb | C++17 | 1.2kb | 2024-08-04 02:51:15 | 2024-08-04 02:51:15 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
Details
Tip: Click on the bar to expand more detailed information
Test #1:
score: 100
Accepted
time: 2ms
memory: 4588kb
input:
1000000 1 1
output:
1000000
result:
ok single line: '1000000'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
1000000 1 1000000
output:
1
result:
ok single line: '1'
Test #3:
score: 0
Accepted
time: 41ms
memory: 4528kb
input:
1000000 100 2 3 1 2 3 2 2 1 1 2 1 2 2 3 2 1 2 3 2 3 3 1 3 2 3 2 3 3 3 3 2 3 2 2 2 3 1 2 3 2 1 1 3 2 2 2 1 2 2 2 3 2 3 2 2 1 3 2 1 3 2 1 3 2 3 2 3 3 3 2 2 3 3 2 2 3 2 2 2 2 3 2 2 3 3 1 3 3 2 1 2 2 1 3 1 3 1 1 1 2
output:
1000000
result:
ok single line: '1000000'
Test #4:
score: 0
Accepted
time: 1ms
memory: 4496kb
input:
1000000 100 874207 249047 827368 636668 206655 355560 418008 184820 182011 837723 831396 227310 364268 408572 520945 789084 732229 460605 420392 944475 755833 828361 419717 66476 445267 415070 902979 60379 716767 653446 719126 522872 728435 9345 262954 482638 84768 608773 355700 490324 15708 628705 ...
output:
676
result:
ok single line: '676'
Test #5:
score: 0
Accepted
time: 75ms
memory: 4584kb
input:
1000000 100 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
1000000
result:
ok single line: '1000000'
Test #6:
score: 0
Accepted
time: 0ms
memory: 3560kb
input:
1 100 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1 1
output:
1
result:
ok single line: '1'
Test #7:
score: 0
Accepted
time: 2ms
memory: 4536kb
input:
1000000 37 2 3 4 5 6 7 30 60 120 240 480 180 360 720 1440 540 1080 2160 210 420 840 1680 3360 1260 2520 5040 10080 2310 4620 9240 18480 13860 27720 30030 60060 120120 510510
output:
500001
result:
ok single line: '500001'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3704kb
input:
10 4 6 2 1 3
output:
6
result:
ok single line: '6'