結果
| 問題 | No.1307 Rotate and Accumulate |
| コンテスト | |
| ユーザー |
%20
|
| 提出日時 | 2020-12-04 02:25:02 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0) |
| 結果 |
AC
|
| 実行時間 | 716 ms / 5,000 ms |
| + 206µs | |
| コード長 | 137 bytes |
| 記録 | |
| コンパイル時間 | 297 ms |
| コンパイル使用メモリ | 21,408 KB |
| 実行使用メモリ | 63,128 KB |
| 最終ジャッジ日時 | 2026-08-27 03:44:59 |
| 合計ジャッジ時間 | 17,229 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
from numpy.fft import* n,_,*a=map(int,open(0).read().split()) b=[0]*n for i in a[n:]:b[-i]+=1 print(*map(int,ifft(fft(a[:n])*fft(b))+.5))
%20