結果

問題 No.1680 Sum and Difference
ユーザー vwxyzvwxyz
提出日時 2021-10-18 02:09:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 80 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 11,784 KB
実行使用メモリ 10,120 KB
最終ジャッジ日時 2023-10-17 23:55:20
合計ジャッジ時間 2,199 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 29 ms
10,112 KB
testcase_01 WA -
testcase_02 AC 29 ms
10,112 KB
testcase_03 WA -
testcase_04 WA -
testcase_05 AC 30 ms
10,112 KB
testcase_06 WA -
testcase_07 AC 29 ms
10,112 KB
testcase_08 WA -
testcase_09 AC 29 ms
10,112 KB
testcase_10 AC 30 ms
10,112 KB
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 29 ms
10,112 KB
testcase_17 AC 29 ms
10,112 KB
testcase_18 WA -
testcase_19 AC 28 ms
10,112 KB
testcase_20 AC 29 ms
10,112 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

A,B=map(int,input().split())
ans=(A+1)*(B+1)+A*B
mod=10**9+7
ans%=mod
print(ans)
0