結果

問題 No.814 ジジ抜き
ユーザー mkawa2
提出日時 2022-03-08 18:47:33
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
TLE  
実行時間 -
コード長 240 bytes
コンパイル時間 1,204 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,312 KB
最終ジャッジ日時 2024-07-23 18:51:32
合計ジャッジ時間 6,156 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other TLE * 1 -- * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

def II(): return int(sys.stdin.readline())
def LI(): return list(map(int, sys.stdin.readline().split()))

n = II()
x = 0
for _ in range(n):
    k, l, d = LI()
    d2 = 1 << d
    for i in range(k):
        x ^= l+d2*i

print(x)
0