Submission #1149554


Source Code Expand

Copy
readline()
a = readdlm(STDIN)
n = Int(length(a)/2)
x = [0; a[1:n]]
y = [0; a[n+1:2*n]]
z = conv(x, y)
for e in z[2:2*n+1]
    println(round(Int, e))
end

Submission Info

Submission Time
Task C - 高速フーリエ変換
User ryuhei
Language Julia (0.5.0)
Score 100
Code Size 160 Byte
Status
Exec Time 3699 ms
Memory 216532 KB

Judge Result

Set Name Score / Max Score Test Cases
Sample 0 / 0 00_sample_01
All 100 / 100 00_sample_01, 01_00_01, 01_01_19, 01_02_31, 01_03_22, 01_04_31, 01_05_40, 01_06_15, 01_07_39, 01_08_28, 01_09_30, 01_10_23, 01_11_33, 01_12_11, 01_13_28, 01_14_41, 01_15_26, 01_16_49, 01_17_34, 01_18_02, 01_19_33, 01_20_29, 02_00_51254, 02_01_82431, 02_02_17056, 02_03_34866, 02_04_6779, 02_05_65534, 02_06_65535, 02_07_65536, 02_08_65537, 02_09_65538, 02_10_100000
Case Name Status Exec Time Memory
00_sample_01 3699 ms 216532 KB
01_00_01 3200 ms 156392 KB
01_01_19 3184 ms 159088 KB
01_02_31 3210 ms 160404 KB
01_03_22 3149 ms 158624 KB
01_04_31 3160 ms 155624 KB
01_05_40 3157 ms 156452 KB
01_06_15 3138 ms 156932 KB
01_07_39 3156 ms 156060 KB
01_08_28 3176 ms 157072 KB
01_09_30 3208 ms 156976 KB
01_10_23 3173 ms 156432 KB
01_11_33 3179 ms 157416 KB
01_12_11 3169 ms 155676 KB
01_13_28 3181 ms 156224 KB
01_14_41 3189 ms 156152 KB
01_15_26 3170 ms 155260 KB
01_16_49 3180 ms 156292 KB
01_17_34 3206 ms 156192 KB
01_18_02 3182 ms 158192 KB
01_19_33 3176 ms 157824 KB
01_20_29 3157 ms 156496 KB
02_00_51254 3353 ms 164736 KB
02_01_82431 3416 ms 172280 KB
02_02_17056 3211 ms 159084 KB
02_03_34866 3286 ms 163484 KB
02_04_6779 3189 ms 158824 KB
02_05_65534 3382 ms 168472 KB
02_06_65535 3392 ms 171212 KB
02_07_65536 3387 ms 169044 KB
02_08_65537 3358 ms 169120 KB
02_09_65538 3398 ms 168900 KB
02_10_100000 3416 ms 175856 KB