ログインしてください。
提出 #37528949
ソースコード 拡げる
T,S=open(0) n,k,p=map(int,T.split()) a=0 for-1<i<k*2:a+=i<n and[50-p,p-50][S[i]<'B'];S+='+0-'[a<1:][a<0] print(S[n+1::2])
提出情報
| 提出日時 | |
|---|---|
| 問題 | B - Battle Solving |
| ユーザ | Pandruant |
| 言語 | Cython (0.29.16) |
| 得点 | 0 |
| コード長 | 121 Byte |
| 結果 | TLE |
| 実行時間 | 2206 ms |
| メモリ | 10068 KiB |
ジャッジ結果
| セット名 | Sample | All | ||||||
|---|---|---|---|---|---|---|---|---|
| 得点 / 配点 | 0 / 0 | 0 / 100 | ||||||
| 結果 |
|
|
| セット名 | テストケース |
|---|---|
| Sample | 00-sample-001.txt, 00-sample-002.txt |
| All | 00-sample-001.txt, 00-sample-002.txt, 01-001.txt, 01-002.txt, 01-003.txt, 01-004.txt, 01-005.txt, 01-006.txt, 01-007.txt, 01-008.txt, 01-009.txt, 01-010.txt, 01-011.txt, 01-012.txt, 01-013.txt, 01-014.txt, 01-015.txt, 01-016.txt, 01-017.txt, 01-018.txt, 01-019.txt, 01-020.txt, 01-021.txt, 01-022.txt, 01-023.txt, 01-024.txt, 01-025.txt, 01-026.txt, 01-027.txt, 01-028.txt, 01-029.txt, 01-030.txt, 01-031.txt, 01-032.txt, 01-033.txt, 01-034.txt, 01-035.txt, 01-036.txt, 01-037.txt, 01-038.txt, 01-039.txt, 01-040.txt, 01-041.txt, 01-042.txt, 01-043.txt, 01-044.txt, 01-045.txt, 01-046.txt, 01-047.txt, 01-048.txt, 01-049.txt, 01-050.txt, 01-051.txt, 01-052.txt, 01-053.txt, 01-054.txt, 01-055.txt, 01-056.txt, 01-057.txt, 01-058.txt |
| ケース名 | 結果 | 実行時間 | メモリ |
|---|---|---|---|
| 00-sample-001.txt | AC | 21 ms | 9112 KiB |
| 00-sample-002.txt | AC | 18 ms | 9228 KiB |
| 01-001.txt | AC | 19 ms | 9208 KiB |
| 01-002.txt | AC | 18 ms | 9232 KiB |
| 01-003.txt | AC | 18 ms | 9100 KiB |
| 01-004.txt | AC | 17 ms | 9124 KiB |
| 01-005.txt | AC | 952 ms | 9700 KiB |
| 01-006.txt | AC | 945 ms | 9700 KiB |
| 01-007.txt | AC | 947 ms | 9664 KiB |
| 01-008.txt | AC | 949 ms | 9788 KiB |
| 01-009.txt | AC | 947 ms | 9600 KiB |
| 01-010.txt | AC | 944 ms | 9568 KiB |
| 01-011.txt | TLE | 2206 ms | 9820 KiB |
| 01-012.txt | TLE | 2206 ms | 9856 KiB |
| 01-013.txt | TLE | 2206 ms | 9800 KiB |
| 01-014.txt | TLE | 2206 ms | 9768 KiB |
| 01-015.txt | TLE | 2206 ms | 9716 KiB |
| 01-016.txt | TLE | 2206 ms | 9768 KiB |
| 01-017.txt | TLE | 2206 ms | 9788 KiB |
| 01-018.txt | TLE | 2206 ms | 9712 KiB |
| 01-019.txt | AC | 1589 ms | 9544 KiB |
| 01-020.txt | AC | 1611 ms | 9692 KiB |
| 01-021.txt | AC | 1602 ms | 9684 KiB |
| 01-022.txt | TLE | 2206 ms | 9820 KiB |
| 01-023.txt | TLE | 2206 ms | 9716 KiB |
| 01-024.txt | TLE | 2206 ms | 9988 KiB |
| 01-025.txt | TLE | 2206 ms | 10068 KiB |
| 01-026.txt | TLE | 2206 ms | 9856 KiB |
| 01-027.txt | TLE | 2206 ms | 9708 KiB |
| 01-028.txt | TLE | 2206 ms | 9840 KiB |
| 01-029.txt | TLE | 2206 ms | 9712 KiB |
| 01-030.txt | TLE | 2206 ms | 9980 KiB |
| 01-031.txt | TLE | 2206 ms | 9820 KiB |
| 01-032.txt | TLE | 2206 ms | 9844 KiB |
| 01-033.txt | TLE | 2206 ms | 9820 KiB |
| 01-034.txt | TLE | 2206 ms | 9920 KiB |
| 01-035.txt | TLE | 2206 ms | 9784 KiB |
| 01-036.txt | TLE | 2206 ms | 9876 KiB |
| 01-037.txt | TLE | 2206 ms | 9856 KiB |
| 01-038.txt | TLE | 2206 ms | 10040 KiB |
| 01-039.txt | TLE | 2206 ms | 9984 KiB |
| 01-040.txt | TLE | 2206 ms | 9916 KiB |
| 01-041.txt | TLE | 2206 ms | 9708 KiB |
| 01-042.txt | TLE | 2206 ms | 9984 KiB |
| 01-043.txt | TLE | 2206 ms | 9988 KiB |
| 01-044.txt | TLE | 2206 ms | 9800 KiB |
| 01-045.txt | TLE | 2206 ms | 9824 KiB |
| 01-046.txt | TLE | 2206 ms | 9904 KiB |
| 01-047.txt | AC | 19 ms | 9200 KiB |
| 01-048.txt | AC | 1398 ms | 9592 KiB |
| 01-049.txt | AC | 1374 ms | 9592 KiB |
| 01-050.txt | AC | 240 ms | 9332 KiB |
| 01-051.txt | AC | 1061 ms | 9580 KiB |
| 01-052.txt | AC | 37 ms | 9160 KiB |
| 01-053.txt | AC | 1476 ms | 9668 KiB |
| 01-054.txt | AC | 1375 ms | 9608 KiB |
| 01-055.txt | AC | 1379 ms | 9860 KiB |
| 01-056.txt | AC | 742 ms | 9412 KiB |
| 01-057.txt | AC | 188 ms | 9440 KiB |
| 01-058.txt | AC | 609 ms | 9404 KiB |