QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#68283 | #1702. Train Tracking 2 | winmain | 100 ✓ | 16ms | 6420kb | C++14 | 1.6kb | 2022-12-15 15:54:37 | 2022-12-15 15:54:38 |
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: 5.88235
Accepted
time: 3ms
memory: 5296kb
input:
4 2 999999998 999999999 999999998
output:
3
result:
ok single line: '3'
Test #2:
score: 5.88235
Accepted
time: 7ms
memory: 5000kb
input:
100000 10240 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 523376738 5233767...
output:
407200020
result:
ok single line: '407200020'
Test #3:
score: 5.88235
Accepted
time: 12ms
memory: 6420kb
input:
100000 5000 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 357460681 35746068...
output:
707086060
result:
ok single line: '707086060'
Test #4:
score: 5.88235
Accepted
time: 15ms
memory: 5308kb
input:
100000 5000 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 879650296 87965029...
output:
340064806
result:
ok single line: '340064806'
Test #5:
score: 5.88235
Accepted
time: 6ms
memory: 6216kb
input:
100000 5000 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 254530145 25453014...
output:
933421891
result:
ok single line: '933421891'
Test #6:
score: 5.88235
Accepted
time: 0ms
memory: 6320kb
input:
100000 5000 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 730947826 73094782...
output:
839173034
result:
ok single line: '839173034'
Test #7:
score: 5.88235
Accepted
time: 16ms
memory: 5176kb
input:
100000 5000 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 488068178 48806817...
output:
455349494
result:
ok single line: '455349494'
Test #8:
score: 5.88235
Accepted
time: 9ms
memory: 6200kb
input:
100000 30000 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 375192454 3751924...
output:
10447880
result:
ok single line: '10447880'
Test #9:
score: 5.88235
Accepted
time: 2ms
memory: 3424kb
input:
1000 1 466744892 466744892 466744892 466744892 466744892 466744892 466744892 466744892 770990393 770990393 770990393 770990393 770990393 770990393 770990393 770990393 770990393 770990393 836723861 836723861 836723861 836723861 836723861 729464583 729464583 804674640 248184007 248184007 248184007 248...
output:
1
result:
ok single line: '1'
Test #10:
score: 5.88235
Accepted
time: 0ms
memory: 5308kb
input:
1000 16 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 794061414 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 451752596 45...
output:
496202506
result:
ok single line: '496202506'
Test #11:
score: 5.88235
Accepted
time: 0ms
memory: 5444kb
input:
1000 128 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 974811987 9...
output:
288438630
result:
ok single line: '288438630'
Test #12:
score: 5.88235
Accepted
time: 0ms
memory: 3356kb
input:
1000 256 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 462365480 4...
output:
743918205
result:
ok single line: '743918205'
Test #13:
score: 5.88235
Accepted
time: 15ms
memory: 6388kb
input:
100000 20 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 915640078 547337088 547337088 547337088 547337088 477136825 477136825 477136825 477136825 477136825 477136825 ...
output:
467117207
result:
ok single line: '467117207'
Test #14:
score: 5.88235
Accepted
time: 16ms
memory: 4892kb
input:
100000 80 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 884831002 ...
output:
209287485
result:
ok single line: '209287485'
Test #15:
score: 5.88235
Accepted
time: 12ms
memory: 6140kb
input:
100000 320 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739 254884739...
output:
246647468
result:
ok single line: '246647468'
Test #16:
score: 5.88235
Accepted
time: 15ms
memory: 5020kb
input:
100000 1280 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 705753403 70575340...
output:
272064734
result:
ok single line: '272064734'
Test #17:
score: 5.88235
Accepted
time: 13ms
memory: 5968kb
input:
100000 5120 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 539179601 53917960...
output:
998248709
result:
ok single line: '998248709'