QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#50004 | #872. Joyful Numbers | HuangHanSheng | TL | 57ms | 3612kb | C++17 | 1.8kb | 2022-09-24 13:38:36 | 2022-09-24 13:38:40 |
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: 3520kb
input:
2 1 4
output:
1 2
result:
ok 2 number(s): "1 2"
Test #2:
score: 0
Accepted
time: 2ms
memory: 3540kb
input:
1 1000000000
output:
7
result:
ok 1 number(s): "7"
Test #3:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
10 1 2 3 4 5 6 7 8 9 10
output:
1 2 2 2 3 3 2 2 3 3
result:
ok 10 numbers
Test #4:
score: 0
Accepted
time: 6ms
memory: 3548kb
input:
10 999999991 999999992 999999993 999999994 999999995 999999996 999999997 999999998 999999999 1000000000
output:
5 6 6 7 7 6 6 6 5 7
result:
ok 10 numbers
Test #5:
score: 0
Accepted
time: 0ms
memory: 3528kb
input:
10 32 9 62 14 76 31 77 62 9 24
output:
3 3 4 4 4 2 5 4 3 3
result:
ok 10 numbers
Test #6:
score: 0
Accepted
time: 2ms
memory: 3536kb
input:
100 232 917 583 995 377 838 788 210 204 151 21 803 761 119 262 391 580 982 806 913 840 27 129 234 601 704 317 581 49 676 925 932 244 768 257 785 883 11 948 110 389 254 949 742 10 857 422 865 830 92 112 540 244 863 173 471 144 418 341 845 908 941 402 535 476 194 515 594 882 254 453 884 666 724 237 21...
output:
3 5 4 5 5 3 4 5 5 3 4 5 4 5 3 4 5 3 5 4 5 3 5 5 4 5 4 5 3 3 4 4 4 3 4 5 4 3 5 5 5 5 5 4 3 5 4 4 5 4 3 4 4 3 4 4 4 4 5 5 4 4 5 4 5 5 5 6 4 5 4 6 5 4 5 5 4 5 5 3 5 4 5 5 4 4 4 4 3 4 4 4 4 6 4 4 3 5 5 5
result:
ok 100 numbers
Test #7:
score: 0
Accepted
time: 57ms
memory: 3540kb
input:
100 971987538 914093604 964244583 924850644 923043291 913356611 964739642 910777513 941966447 974812762 960504375 978958306 958875520 929935610 925926264 933307797 933702996 907774450 904281295 992679895 999563179 945107265 970736983 919138538 984292255 921891421 977320327 935222721 937762694 940914...
output:
7 6 5 7 9 6 7 7 7 7 8 5 5 6 8 6 8 7 8 8 8 6 4 6 6 5 6 6 8 7 7 9 7 8 8 4 7 5 8 6 8 7 4 8 7 7 6 7 6 6 9 9 8 7 6 5 6 7 9 7 4 8 6 5 6 8 7 6 6 5 9 6 6 8 5 9 5 8 7 6 10 4 7 8 7 9 7 5 7 8 4 7 6 5 8 4 7 10 7 6
result:
ok 100 numbers
Test #8:
score: 0
Accepted
time: 4ms
memory: 3612kb
input:
1000 1954 5190 3537 1871 7725 3444 9362 9281 8717 1859 8587 457 5922 3935 6367 6728 4209 7162 9523 8654 4240 8824 8306 6821 5804 8948 8970 6583 5238 9130 7421 3443 4530 5834 9601 8844 9783 1596 9696 6634 1826 7734 6457 5463 2418 7127 205 4674 2125 5520 8899 32 1674 4646 2644 4038 949 7122 6959 7472 ...
output:
5 6 5 4 5 7 5 6 5 6 5 3 5 5 3 4 6 5 4 5 4 4 5 5 5 5 6 4 5 6 5 6 6 5 3 7 4 5 4 5 6 7 4 4 6 4 4 7 4 5 5 3 5 5 4 5 5 5 5 5 5 4 5 4 5 5 6 4 7 4 6 6 3 4 4 5 6 5 3 6 4 4 4 4 6 4 4 6 4 5 5 5 3 6 6 5 5 4 6 3 5 6 4 6 5 5 4 6 5 5 3 4 5 7 6 5 5 6 6 4 4 5 4 4 3 4 5 4 5 5 5 6 3 6 6 6 5 5 4 4 5 4 5 3 5 6 4 6 4 6 ...
result:
ok 1000 numbers
Test #9:
score: 0
Accepted
time: 56ms
memory: 3552kb
input:
4000 95017 91264 45043 26529 57842 52876 43696 48041 63801 43260 78305 28107 13836 46180 52265 76797 86942 24892 80715 56152 21480 66656 62833 16347 32964 24496 3496 64136 17265 77746 32417 29125 87954 32843 12338 80605 35950 92810 90067 62717 61073 34622 70978 3703 66666 2426 29919 5858 30155 15768...
output:
6 5 4 7 4 5 4 6 7 6 6 4 5 4 6 8 6 6 6 4 5 5 5 5 7 5 5 4 6 3 6 4 7 6 5 6 4 5 5 5 6 5 4 4 6 4 6 6 7 5 4 5 6 4 4 5 5 7 6 6 6 5 5 5 6 6 4 5 4 4 5 5 6 6 5 4 8 6 5 6 6 7 6 7 6 5 4 5 6 4 5 4 7 6 6 5 5 6 5 5 6 5 4 5 5 6 5 5 7 3 5 4 4 4 5 6 6 6 5 5 5 5 6 6 5 7 5 6 4 6 5 6 6 7 6 5 5 7 6 4 5 5 5 4 5 5 4 3 7 6 ...
result:
ok 4000 numbers
Test #10:
score: -100
Time Limit Exceeded
input:
4000 257153178 67580765 750162211 358541798 592600540 404839267 383797906 347530360 644445338 578670380 947289365 742962378 782238069 377872907 615952448 170868596 798248980 505768957 155244266 311267315 104163230 442089502 641516462 67692838 455693633 859002162 390581099 874178513 287345839 3339010...