結果
| 問題 |
No.904 サメトロ
|
| コンテスト | |
| ユーザー |
s_shohei
|
| 提出日時 | 2020-04-13 21:58:32 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 113 bytes |
| コンパイル時間 | 305 ms |
| コンパイル使用メモリ | 82,688 KB |
| 実行使用メモリ | 54,560 KB |
| 最終ジャッジ日時 | 2024-09-25 10:33:12 |
| 合計ジャッジ時間 | 2,663 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 WA * 22 |
ソースコード
n = int(input())
l = []
ans=1
for i in range(n-1):
a,b = list(map(int,input().split()))
ans+=b
print(ans)
s_shohei