結果
問題 |
No.8085 Math...?
|
ユーザー |
![]() |
提出日時 | 2021-04-01 20:59:24 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 266 bytes |
コンパイル時間 | 271 ms |
コンパイル使用メモリ | 12,672 KB |
実行使用メモリ | 10,880 KB |
最終ジャッジ日時 | 2024-12-21 04:53:26 |
合計ジャッジ時間 | 5,549 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 4 WA * 22 |
ソースコード
Q=int(input()) mod=1000000007 for i in range(Q): a,b=map(int,input().split()) this1=1 for j in range(1,a+1): this=0 for k in range(1,b+1): this+=k*j this%=mod this1*=this this1%=mod print(this1)