QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#472068 | #8865. Cakes | ucup-team1005# | AC ✓ | 10ms | 4792kb | C++20 | 1.7kb | 2024-07-11 14:15:57 | 2024-07-11 14:15:57 |
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: 0ms
memory: 3616kb
input:
10 10 10 100 100 100 100 100 100 100 100 100 100 9 8 1 5 7 0 1 2 3 9 44 66 63 65 59 94 93 98 76 66 0 0 0 0 0 7 2 1 1 0 2 2 3 3 2 7 3 2 2 1 1 2 2 4 1 12 4 6 3 1 1 1 2 0 0 10 3 0 2 1 1 4 0 0 0 11 0 0 0 0 2 0 0 1 1 8 2 1 3 1 1 2 1 2 1 13 3 2 1 0 1 1 2 1 1 14 5 0 2 4 1 1 1 1 0 3 1 2 2 1 3 2 2 1 0 6 1 3 ...
output:
69
result:
ok single line: '69'
Test #2:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
5 5 5 100 100 100 100 100 0 2 1 8 8 28 12 0 15 30 12 7 9 6 2 13 5 6 3 5 11 10 3 4 5 11 5 10 3 6 7 6 4 5 4 4 1 2 4 5 3 1 2 3 1 3 2 3 5 1 3
output:
17
result:
ok single line: '17'
Test #3:
score: 0
Accepted
time: 6ms
memory: 3816kb
input:
200 199 198 999999985 999999995 999999998 999999990 999999984 999999984 999999993 999999984 999999991 999999990 1000000000 999999987 999999987 999999992 999999993 999999994 999999988 999999987 999999992 999999984 999999986 999999995 999999991 999999987 1000000000 999999991 999999987 999999990 999999...
output:
419853094
result:
ok single line: '419853094'
Test #4:
score: 0
Accepted
time: 5ms
memory: 3872kb
input:
200 199 198 999999962 999999993 999999995 999999998 999999941 999999971 999999965 999999997 999999952 999999951 999999959 999999977 999999996 999999991 999999977 999999957 999999964 999999969 999999979 999999968 999999984 999999980 999999991 999999990 999999984 999999963 999999988 999999949 99999994...
output:
174382353628
result:
ok single line: '174382353628'
Test #5:
score: 0
Accepted
time: 5ms
memory: 3572kb
input:
200 200 200 999999991 999999993 1000000000 999999993 999999999 999999990 1000000000 999999993 999999989 999999998 999999995 999999998 999999998 999999997 999999992 999999996 999999998 999999993 999999992 999999996 999999998 999999999 999999991 999999995 999999999 999999990 999999989 999999998 999999...
output:
290639
result:
ok single line: '290639'
Test #6:
score: 0
Accepted
time: 1ms
memory: 3612kb
input:
1 65 75 761 686 568 747 514 578 663 826 776 628 822 842 794 865 956 784 653 534 897 557 515 648 889 690 562 966 927 867 829 725 965 584 997 704 766 970 682 930 740 666 752 664 769 678 711 847 657 931 630 601 967 789 929 501 572 788 576 533 538 794 735 636 728 891 756 386 327 754 823 581 433 349 40 8...
output:
13498
result:
ok single line: '13498'
Test #7:
score: 0
Accepted
time: 0ms
memory: 3500kb
input:
1 54 61 709 666 598 618 750 678 505 920 707 960 943 763 664 992 703 929 925 769 742 569 718 766 765 668 501 812 513 843 998 852 572 744 958 684 590 679 906 625 940 750 992 697 910 666 663 866 504 856 704 674 534 871 682 857 522 120 202 42 611 332 969 929 556 577 563 606 722 347 39 242 804 579 101 39...
output:
8556
result:
ok single line: '8556'
Test #8:
score: 0
Accepted
time: 0ms
memory: 3564kb
input:
1 52 63 876 863 515 573 816 940 908 636 969 505 854 725 863 585 867 508 724 642 724 735 618 598 831 936 561 653 860 858 698 679 832 551 737 722 617 851 984 749 650 828 866 562 876 571 941 566 746 751 582 940 597 696 499 839 972 113 580 230 560 689 665 804 333 812 126 149 939 554 666 243 642 767 46 5...
output:
9036
result:
ok single line: '9036'
Test #9:
score: 0
Accepted
time: 0ms
memory: 3848kb
input:
1 53 70 827 825 907 799 523 971 690 812 884 564 764 851 776 787 631 696 960 649 799 727 988 594 987 810 738 659 713 939 534 773 574 680 908 930 649 942 907 603 730 766 910 670 731 865 705 575 979 609 637 802 830 689 786 223 625 978 784 436 441 245 857 65 961 559 410 658 560 920 739 117 662 304 271 7...
output:
6059
result:
ok single line: '6059'
Test #10:
score: 0
Accepted
time: 0ms
memory: 3504kb
input:
1 80 91 682 673 846 589 690 769 783 967 842 745 927 551 539 837 914 711 555 919 715 826 881 987 557 916 943 904 681 899 721 545 663 652 573 813 870 741 530 926 928 744 642 966 521 908 782 575 701 540 546 972 860 577 567 919 873 963 736 609 827 778 598 636 892 635 829 910 968 551 825 507 945 797 605 ...
output:
15767
result:
ok single line: '15767'
Test #11:
score: 0
Accepted
time: 6ms
memory: 3808kb
input:
200 200 200 999999987 1000000000 999999983 999999993 999999988 999999986 999999986 999999987 999999998 999999989 999999996 999999997 999999998 999999986 1000000000 999999997 999999984 999999993 1000000000 999999987 999999998 999999995 999999990 999999989 999999986 999999984 999999998 999999989 99999...
output:
780024979
result:
ok single line: '780024979'
Test #12:
score: 0
Accepted
time: 9ms
memory: 4412kb
input:
200 200 200 999999857 999999773 999999810 999999899 999999980 999999862 999999848 999999782 999999993 999999779 999999804 999999970 999999976 999999810 999999984 999999942 999999998 999999784 999999772 999999972 999999865 999999779 999999838 999999863 999999801 999999843 999999901 999999977 99999994...
output:
0
result:
ok single line: '0'
Test #13:
score: 0
Accepted
time: 6ms
memory: 3768kb
input:
200 200 200 999999999 999999999 1000000000 999999999 1000000000 999999999 100 999999999 999999999 1000000000 10000000 1000000000 999999999 1000000000 999999999 999999999 1000000000 1000000000 1000000000 999999999 1000000000 999999999 1000000000 1000000000 999999999 999999999 999999999 999999999 1000...
output:
1077692560
result:
ok single line: '1077692560'
Test #14:
score: 0
Accepted
time: 6ms
memory: 3596kb
input:
200 200 200 999999975 999999929 999999946 999999991 999999926 999999947 999999980 999999951 999999981 999999998 999999947 999999860 999999940 999999898 999999996 999999916 999999938 999999963 999999931 999999982 999999988 999999936 999999974 999999922 999999868 999999953 999999933 999999932 99999996...
output:
0
result:
ok single line: '0'
Test #15:
score: 0
Accepted
time: 5ms
memory: 3632kb
input:
200 200 200 999999996 999999944 999999982 999999981 999999929 999999934 999999913 999999936 999999983 999999874 999999914 999999840 999999951 999999955 999999965 999999934 999999939 999999871 999999994 999999871 999999886 999999920 999999857 999999991 999999879 999999940 999999863 999999913 99999989...
output:
368131
result:
ok single line: '368131'
Test #16:
score: 0
Accepted
time: 7ms
memory: 4212kb
input:
200 200 200 1000000 1000000 999999 1000000 1000000 999999 1000000 999999 1000000 999999 999999 1000000 1000000 999999 1000000 999999 1000000 999999 999999 1000000 999999 999999 999999 1000000 999999 1000000 1000000 999999 999999 999999 1000000 999999 999999 999999 1000000 1000000 999999 1000000 9999...
output:
127467008
result:
ok single line: '127467008'
Test #17:
score: 0
Accepted
time: 10ms
memory: 4792kb
input:
200 200 200 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 1000000 ...
output:
25900760
result:
ok single line: '25900760'