結果
| 問題 |
No.110 しましまピラミッド
|
| コンテスト | |
| ユーザー |
threepipes_s
|
| 提出日時 | 2016-01-03 04:00:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 274 bytes |
| コンパイル時間 | 123 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-09-19 10:44:10 |
| 合計ジャッジ時間 | 1,934 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 23 WA * 3 |
ソースコード
input()
w = list(map(lambda x: (int(x), 1), input().split()))
input()
b = list(map(lambda x: (int(x), 0), input().split()))
c = -1
r = 0
o = 0
for p in sorted(w+b, key=lambda p: p[0]):
if p[1] != c and p[0] > o:
c = p[1]
r += 1
o = p[0]
print(r)
threepipes_s