QOJ.ac
QOJ
ID | Problem | Submitter | Result | Time | Memory | Language | File size | Submit time | Judge time |
---|---|---|---|---|---|---|---|---|---|
#705025 | #9535. Arrow a Row | ucup-team5254# | AC ✓ | 30ms | 7280kb | C++17 | 4.2kb | 2024-11-02 21:55:04 | 2024-11-02 21:55:04 |
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: 1ms
memory: 4816kb
input:
4 >>->>> >>>-> >>>>> >->>>>>>
output:
Yes 5 2 5 1 5 1 5 2 5 2 5 No No Yes 6 4 5 3 5 2 5 1 5 1 5 1 5
result:
ok ok (4 test cases)
Test #2:
score: 0
Accepted
time: 1ms
memory: 4800kb
input:
126 >->-->>>> >--->->>>> >--->-->>> >>-->->>> >>-->>>>> >>->->>>> >>->>->>>> >-->->->>> >->->>>>>> >->>> >->->>>>> >>>->->>> >>->>>>>>> >>>>>->>> >->>>->>> >>--->->>> >>->>>> >->>>>->>> >>>>-->>> >---->>> >>>---->>> >>>>->>>> >->>-->>> >-->-->>>> >>---->>> >>--->>> >->>>-->>> >>-->>>> >>---->>>> >>-...
output:
Yes 8 5 5 4 5 3 5 2 5 1 5 1 5 3 5 3 6 Yes 10 6 5 5 5 4 5 3 5 1 5 1 7 1 7 1 7 5 5 5 5 Yes 9 6 5 5 5 4 5 1 5 1 7 1 7 1 7 5 5 5 6 Yes 9 5 5 4 5 3 5 1 5 2 5 2 6 2 6 5 5 5 5 Yes 8 5 5 4 5 3 5 2 5 1 5 1 5 2 5 2 6 Yes 9 5 5 4 5 3 5 2 5 1 5 2 5 2 5 4 5 4 5 Yes 10 6 5 5 5 4 5 3 5 1 5 2 5 2 5 4 5 5 5 5 5 Yes ...
result:
ok ok (126 test cases)
Test #3:
score: 0
Accepted
time: 3ms
memory: 4808kb
input:
4032 >>--->>>>>>>> >->>->->-->->>> >>--->>--->>> >>->->->>>>>>>> >->---->->>> >->>->>---->>>> >>>>>>>>->>>> >->>>--->>>->>> >->>->>-->>>>>> >->>-->---->>> >-->--->>>->>> >->---->>-->>>> >>------>>> >>>-->>--->>>>> >->->->>-->>>> >->->-->>->->>> >>->>>>-->->>>> >>>-->>->--->>> >->->>>>>->>>> >>-->->>...
output:
Yes 11 9 5 8 5 7 5 6 5 5 5 4 5 3 5 2 5 1 5 2 5 2 7 Yes 15 11 5 10 5 9 5 1 5 1 5 3 5 4 5 4 5 6 5 6 5 8 5 8 6 8 6 11 5 11 5 Yes 11 9 5 8 5 7 5 1 5 2 5 2 7 2 7 2 7 6 5 7 5 7 7 Yes 15 11 5 10 5 9 5 8 5 7 5 6 5 5 5 4 5 1 5 2 5 2 5 4 5 4 5 6 5 6 5 Yes 12 8 5 7 5 6 5 1 5 1 5 3 5 3 8 3 8 3 8 3 8 8 5 8 5 Yes...
result:
ok ok (4032 test cases)
Test #4:
score: 0
Accepted
time: 17ms
memory: 5096kb
input:
10000 >>>>->->>->>->>>> >->-->>->>->>>>>> >->->>-->--->>>>> >---->-->->>>>>>> >->-->>--->>->>>> >->>->>>>>>-->>> >>--->->-->>->>> >-->---->>>->>> >->----->->->>>>> >>--->---->-->>>> >>-->->->--->>> >----->>-->>->>>> >-->->->>>>>->>>> >>->>---->-->>> >>->>-->>>-->>> >------>->>>->>>> >->->-->->>>->>>...
output:
Yes 17 13 5 12 5 11 5 10 5 1 5 2 5 3 5 4 5 4 5 6 5 6 5 8 5 9 5 9 5 11 5 12 5 12 5 Yes 17 13 5 12 5 11 5 10 5 9 5 8 5 1 5 1 5 3 5 3 6 3 6 6 5 7 5 7 5 9 5 10 5 10 5 Yes 15 13 5 12 5 11 5 10 5 9 5 1 5 1 5 3 5 3 5 5 5 6 5 6 6 6 6 9 5 9 7 Yes 17 13 5 12 5 11 5 10 5 9 5 8 5 7 5 1 5 1 8 1 8 1 8 1 8 6 5 6 6...
result:
ok ok (10000 test cases)
Test #5:
score: 0
Accepted
time: 26ms
memory: 4884kb
input:
10000 >>>-->>>>-->---->->->-->>> >>-->>>>->-->>->>> >->-->--->--->->-->>--->>->->>-->->->>>>>>->>>>----->->--->>----->>-->>>----->->->>>--->>->>-->->->->---->>->>>-->>->->>>->->>>>->>->->>-->>>->>->>-->>>>-->>-->>>->>->->>>--->>>-->>>--->>->->>>>>->->---->>>>->>> ->->>>>--->>>>>>->>>->>>>->->-->-->>...
output:
Yes 25 22 5 21 5 20 5 1 5 2 5 3 5 3 6 3 6 6 5 7 5 8 5 9 5 9 6 9 6 12 5 12 8 12 8 12 8 12 8 17 5 17 5 19 5 19 5 21 5 21 6 Yes 18 14 5 13 5 12 5 1 5 2 5 2 6 2 6 5 5 6 5 7 5 8 5 8 5 10 5 10 6 10 6 13 5 14 5 14 5 Yes 211 207 5 206 5 205 5 1 5 1 5 3 5 3 6 3 6 6 5 6 7 6 7 6 7 10 5 10 7 10 7 10 7 14 5 14 5...
result:
ok ok (10000 test cases)
Test #6:
score: 0
Accepted
time: 27ms
memory: 4896kb
input:
9999 ->->--->>>>->->--->>-- ->>>--->>>-->>--->>--- -->>>>>>>- >>>->>>>>>>-- >>-->-->->----->->>>>->>->---->-> >-->->>>--->->->>->->- >->--->--->>>>->>>----->------>>-->->>> >>->>>->>>---->>>->>>>>>>>>->--->>->>>>>-->>>->->->>-->->--->->-->->>->->->>-->-->>>>>>>>--->>--->->>>-->->----->>-->->>--->-->...
output:
No No No No No No Yes 39 35 5 34 5 33 5 1 5 1 5 3 5 3 7 3 7 3 7 7 5 7 7 7 7 7 7 11 5 12 5 13 5 14 5 14 5 16 5 17 5 18 5 18 9 18 9 18 9 18 9 18 9 24 5 24 10 24 10 24 10 24 10 24 10 24 10 31 5 32 5 32 6 32 6 35 5 35 5 Yes 128 125 5 124 5 123 5 1 5 2 5 2 5 4 5 5 5 6 5 6 5 8 5 9 5 10 5 10 8 10 8 10 8 10...
result:
ok ok (9999 test cases)
Test #7:
score: 0
Accepted
time: 20ms
memory: 7116kb
input:
5 >-->>>>>--->->->>->>>>>->->-->-->->>>-->->--->>>------>->>-->>>------->>---->-->>>>>>-->>--->>-->->->>>>->-->------>>->>>>->>>-->---->--->>-->-->->--->->->->->>->-->->--->>>>->>->--->->>-->>>>>>->>>>->>--->->>-->>->->---->>>->->>->>->--->->->-->->>->->-->->------>>>->>>>>->>-->>->>>->>>>>----->---...
output:
No No Yes 95948 95944 5 95943 5 95942 5 1 5 2 5 3 5 3 5 5 5 6 5 7 5 7 5 9 5 10 5 10 5 12 5 12 8 12 8 12 8 12 8 17 5 18 5 19 5 20 5 20 5 22 5 23 5 24 5 24 5 26 5 27 5 28 5 28 5 30 5 30 6 30 6 33 5 34 5 34 5 36 5 37 5 37 5 39 5 40 5 41 5 42 5 42 5 44 5 45 5 46 5 47 5 47 7 47 7 47 7 51 5 51 6 51 6 54 5...
result:
ok ok (5 test cases)
Test #8:
score: 0
Accepted
time: 20ms
memory: 7280kb
input:
5 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...
output:
No Yes 100000 99996 5 99995 5 99994 5 99993 5 1 5 2 5 3 5 4 5 5 5 6 5 7 5 8 5 9 5 10 5 11 5 12 5 13 5 14 5 15 5 16 5 17 5 18 5 19 5 20 5 21 5 22 5 23 5 24 5 25 5 26 5 27 5 28 5 29 5 30 5 31 5 32 5 33 5 34 5 35 5 36 5 37 5 38 5 39 5 40 5 41 5 42 5 43 5 44 5 45 5 46 5 47 5 48 5 49 5 50 5 51 5 52 5 53 ...
result:
ok ok (5 test cases)
Test #9:
score: 0
Accepted
time: 30ms
memory: 5444kb
input:
20 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...
output:
Yes 25000 24996 5 24995 5 24994 5 24993 5 24992 5 24991 5 24990 5 24989 5 24988 5 24987 5 24986 5 24985 5 24984 5 24983 5 24982 5 24981 5 24980 5 24979 5 24978 5 24977 5 24976 5 24975 5 24974 5 24973 5 24972 5 24971 5 24970 5 24969 5 24968 5 24967 5 24966 5 24965 5 24964 5 24963 5 24962 5 24961 5 24...
result:
ok ok (20 test cases)
Test #10:
score: 0
Accepted
time: 30ms
memory: 5440kb
input:
20 >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>...
output:
Yes 25000 24996 5 24995 5 24994 5 24993 5 24992 5 24991 5 24990 5 24989 5 24988 5 24987 5 24986 5 24985 5 24984 5 24983 5 24982 5 24981 5 24980 5 24979 5 24978 5 24977 5 24976 5 24975 5 24974 5 24973 5 24972 5 24971 5 24970 5 24969 5 24968 5 24967 5 24966 5 24965 5 24964 5 24963 5 24962 5 24961 5 24...
result:
ok ok (20 test cases)
Extra Test:
score: 0
Extra Test Passed