結果

問題 No.1499 羊が、何匹だっけ
ユーザー ansain
提出日時 2021-05-07 21:52:32
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 34 ms / 2,000 ms
コード長 295 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-09-15 09:44:13
合計ジャッジ時間 1,029 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

def yn(hantei, yes='Yes', no='No'): print(yes if hantei else no)
def p(*args): print(*args)
def c(a):
    try:
        aa=int(a)
        return str(aa+1)
    except:
        return a
def solve(S):
    SS=S.split()
    print(*list(map(c,SS)))
for i in range(int(input())):
    solve(input())
    
0