結果

問題 No.1713 trick or treat!
ユーザー McGregorsh
提出日時 2023-05-06 15:07:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 96 bytes
コンパイル時間 196 ms
コンパイル使用メモリ 82,176 KB
実行使用メモリ 52,096 KB
最終ジャッジ日時 2024-11-23 22:45:25
合計ジャッジ時間 1,070 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 3
other WA * 5
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, input().split())
c = a | b
ans = 1
for i in range(c):
	  ans += (i+1)
print(ans)
0