結果
| 問題 | No.2401 Dirty Shoes and Stairs |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-05 15:59:48 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 255 bytes |
| 記録 | |
| コンパイル時間 | 308 ms |
| コンパイル使用メモリ | 84,864 KB |
| 実行使用メモリ | 99,584 KB |
| 最終ジャッジ日時 | 2026-05-04 10:37:28 |
| 合計ジャッジ時間 | 2,866 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 30 |
ソースコード
n = int(input()) m = int(input()) A = list(map(int,input().split())) ans = [0] * (N + 1) now = 0 ans[0] = 1 for a in A: now += a ans[now] = 1 m = int(input()) B = list(map(int,input().split())) for b in B: now -= b ans[now] = 1 print(N + 1 - sum(ans))