結果
| 問題 | No.3603 What Question Number Are We On? |
| コンテスト | |
| ユーザー |
Tuchmos
|
| 提出日時 | 2026-08-02 16:34:11 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 65 ms / 2,000 ms |
| + 638µs | |
| コード長 | 232 bytes |
| 記録 | |
| コンパイル時間 | 226 ms |
| コンパイル使用メモリ | 95,588 KB |
| 実行使用メモリ | 78,848 KB |
| 最終ジャッジ日時 | 2026-08-02 16:34:19 |
| 合計ジャッジ時間 | 5,315 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 42 |
ソースコード
ans=[]
Q=int(input())
for i in range(Q):
q=list(map(int,input().split()))
if q[0]==1:
res=q[1]+q[2]
ans.append(res)
else:
ans.append(i+1)
import sys
sys.stdout.write('\n'.join(map(str,ans))+'\n')
Tuchmos