結果
| 問題 | No.1307 Rotate and Accumulate |
| コンテスト | |
| ユーザー |
testestest
|
| 提出日時 | 2020-12-04 01:18:00 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 1,086 ms / 5,000 ms |
| コード長 | 174 bytes |
| 記録 | |
| コンパイル時間 | 578 ms |
| コンパイル使用メモリ | 20,832 KB |
| 実行使用メモリ | 53,492 KB |
| 最終ジャッジ日時 | 2026-04-04 12:17:21 |
| 合計ジャッジ時間 | 20,130 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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