AtCoder Typical Contest 001

Submission #2243456

Source codeソースコード

#include<iostream>
#define R(i,n)for(int i=1;i<=n;++i)
using U=unsigned;using namespace std;enum{M=7<<14};U N,A[M],B[M],C[M*2];int main(){cin>>N;R(i,N)cin>>A[i]>>B[i];R(i,N)R(j,N)C[i+j]+=A[i]*B[j];R(i,N*2)printf("%d\n",C[i]);}

Submission

Task問題 C - 高速フーリエ変換
User nameユーザ名 Aquarius
Created time投稿日時
Language言語 C++14 (Clang 3.8.0)
Status状態 AC
Score得点 100
Source lengthソースコード長 228 Byte
File nameファイル名
Exec time実行時間 4513 ms
Memory usageメモリ使用量 3712 KB

Test case

Set

Set name Score得点 / Max score Cases
Sample - 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

Test case

Case name Status状態 Exec time実行時間 Memory usageメモリ使用量
00_sample_01 AC 1 ms 256 KB
01_00_01 AC 1 ms 256 KB
01_01_19 AC 1 ms 256 KB
01_02_31 AC 1 ms 256 KB
01_03_22 AC 1 ms 256 KB
01_04_31 AC 1 ms 256 KB
01_05_40 AC 1 ms 256 KB
01_06_15 AC 1 ms 256 KB
01_07_39 AC 1 ms 256 KB
01_08_28 AC 1 ms 256 KB
01_09_30 AC 1 ms 256 KB
01_10_23 AC 1 ms 256 KB
01_11_33 AC 1 ms 256 KB
01_12_11 AC 1 ms 256 KB
01_13_28 AC 1 ms 256 KB
01_14_41 AC 1 ms 256 KB
01_15_26 AC 1 ms 256 KB
01_16_49 AC 1 ms 256 KB
01_17_34 AC 1 ms 256 KB
01_18_02 AC 1 ms 256 KB
01_19_33 AC 1 ms 256 KB
01_20_29 AC 1 ms 256 KB
02_00_51254 AC 1179 ms 1920 KB
02_01_82431 AC 3111 ms 3072 KB
02_02_17056 AC 125 ms 768 KB
02_03_34866 AC 506 ms 1408 KB
02_04_6779 AC 27 ms 512 KB
02_05_65534 AC 1982 ms 2432 KB
02_06_65535 AC 1984 ms 2432 KB
02_07_65536 AC 1955 ms 2432 KB
02_08_65537 AC 1920 ms 2432 KB
02_09_65538 AC 1948 ms 2432 KB
02_10_100000 AC 4513 ms 3712 KB