QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#505412#5760. Text Messaging Outragexiaowuc115 ✓1ms3848kbC++172.1kb2024-08-05 05:11:132024-08-05 05:11:20

詳細信息

Subtask #1:

score: 5
Accepted

Test #1:

score: 5
Accepted
time: 0ms
memory: 3592kb

input:

9
10 1 1
231414
10 9 42
687480 653885 9857 325624 653906 69271 860982 406372 420181 411829 609598 425748 253491 344302 978181 801539 764311 753944 409295 869742 440213 132416 732307 670414 413452 129618 963908 754525 898047 705149 182178 585526 875385 192034 911149 45643 777657 288482 452014 197837 ...

output:

Case #1: 231414
Case #2: 48679001
Case #3: 397
Case #4: 47
Case #5: 2391723
Case #6: 16068080
Case #7: 1040382
Case #8: 84450561
Case #9: 17027792

result:

ok 9 lines

Subtask #2:

score: 10
Accepted

Test #2:

score: 10
Accepted
time: 1ms
memory: 3848kb

input:

99
1000 100 1000
1001 1000 999 998 997 996 995 994 993 992 991 990 989 988 987 986 985 984 983 982 981 980 979 978 977 976 975 974 973 972 971 970 969 968 967 966 965 964 963 962 961 960 959 958 957 956 955 954 953 952 951 950 949 948 947 946 945 944 943 942 941 940 939 938 937 936 935 934 933 932 9...

output:

Case #1: 1933250
Case #2: 3801376
Case #3: 6513831
Case #4: 48501282
Case #5: 12776010
Case #6: 36578928
Case #7: 44436951
Case #8: 27023195
Case #9: 3786781
Case #10: 46362427
Case #11: 20224700
Case #12: 42819328
Case #13: 1933230
Case #14: 5941760
Case #15: 37709487
Case #16: 23085604
Case #17: 2...

result:

ok 99 lines

Extra Test:

score: 0
Extra Test Passed