結果
| 問題 | No.1307 Rotate and Accumulate |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2020-12-04 01:18:00 |
| 言語 | Python3 (3.14.7 + numpy 2.5.2 + scipy 1.18.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 660 ms / 5,000 ms |
| + 92µs | |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 300 ms |
| コンパイル使用メモリ | 21,536 KB |
| 実行使用メモリ | 51,984 KB |
| 最終ジャッジ日時 | 2026-08-27 02:23:39 |
| 合計ジャッジ時間 | 16,105 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 |
ソースコード
from numpy import fft as f input() a=list(map(int,input().split())) b=[0]*len(a) for i in map(int,input().split()):b[-i]+=1 print(*(f.ifft(f.fft(a)*f.fft(b))+.5).astype(int))
testestest