結果

問題 No.682 Average
ユーザー 👑 rin204rin204
提出日時 2021-07-17 16:06:38
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 73 ms / 2,000 ms
コード長 88 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 87,240 KB
実行使用メモリ 71,668 KB
最終ジャッジ日時 2023-09-21 09:43:54
合計ジャッジ時間 2,160 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
71,488 KB
testcase_01 AC 67 ms
71,148 KB
testcase_02 AC 69 ms
71,520 KB
testcase_03 AC 68 ms
71,516 KB
testcase_04 AC 68 ms
71,484 KB
testcase_05 AC 67 ms
71,484 KB
testcase_06 AC 69 ms
71,336 KB
testcase_07 AC 73 ms
71,456 KB
testcase_08 AC 70 ms
71,400 KB
testcase_09 AC 71 ms
71,668 KB
testcase_10 AC 70 ms
71,400 KB
testcase_11 AC 71 ms
71,308 KB
testcase_12 AC 72 ms
71,260 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

a, b = map(int, input().split())
x = (-a - b) % 3
print((b - x) // 3 - (a - x - 1) // 3)
0