結果
| 問題 |
No.2401 Dirty Shoes and Stairs
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-08-05 15:59:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 255 bytes |
| コンパイル時間 | 178 ms |
| コンパイル使用メモリ | 82,152 KB |
| 実行使用メモリ | 101,768 KB |
| 最終ジャッジ日時 | 2024-10-15 13:05:58 |
| 合計ジャッジ時間 | 3,465 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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))