F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_18128787_8008.cpp: In function 'int main()':
0_0_18128787_8008.cpp:5:24: error: 'a' was not declared in this scope
     while(scanf("%s%s",a,b)!=EOF)  
                        ^
0_0_18128787_8008.cpp:5:26: error: 'b' was not declared in this scope
     while(scanf("%s%s",a,b)!=EOF)  
                          ^
0_0_18128787_8008.cpp:5:27: error: 'scanf' was not declared in this scope
     while(scanf("%s%s",a,b)!=EOF)  
                           ^
0_0_18128787_8008.cpp:5:30: error: 'EOF' was not declared in this scope
     while(scanf("%s%s",a,b)!=EOF)  
                              ^
0_0_18128787_8008.cpp:7:20: error: 'strlen' was not declared in this scope
         l1=strlen(a);  
                    ^
0_0_18128787_8008.cpp:14:13: error: 'x1' was not declared in this scope
             x1[i].r=a[l1-i-1]-'0';  
             ^
0_0_18128787_8008.cpp:17:26: error: 'x1' was not declared in this scope
         for(;i<l;i++)    x1[i].r=x1[i].i=0.0;  
                          ^
0_0_18128787_8008.cpp:21:13: error: 'x2' was not declared in this scope
             x2[i].r=b[l2-i-1]-'0';  
             ^
0_0_18128787_8008.cpp:24:26: error: 'x2' was not declared in this scope
         for(;i<l;i++)    x2[i].r=x2[i].i=0.0;  
                          ^
0_0_18128787_8008.cpp:25:13: error: 'x1' was not declared in this scope
         fft(x1,l,1); // DFT(a)  
             ^
0_0_18128787_8008.cpp:25:19: error: 'fft' was not declared in this scope
         fft(x1,l,1); // DFT(a)  
                   ^
0_0_18128787_8008.cpp:26:13: error: 'x2' was not declared in this scope
         fft(x2,l,1); // DFT(b)  
             ^
0_0_18128787_8008.cpp:29:26: error: 'sum' was not declared in this scope
         for(i=0;i<l;i++) sum[i]=x1[i].r+0.5; // 四舍五入  
                          ^
0_0_18128787_8008.cpp:32:13: error: 'sum' was not declared in this scope
             sum[i+1]+=sum[i]/10;  
             ^
0_0_18128787_8008.cpp:36:15: error: 'sum' was not declared in this scope
         while(sum[l]<=0 && l>0)   l--; // 检索最高位  
               ^
0_0_18128787_8008.cpp:37:38: error: 'sum' was not declared in this scope
         for(i=l;i>=0;i--)    putchar(sum[i]+'0'); // 倒序输出  
                                      ^
0_0_18128787_8008.cpp:37:48: error: 'putchar' was not declared in this scope
         for(i=l;i>=0;i--)    putchar(sum[i]+'0'); // 倒序输出  
                                                ^
0_0_18128787_8008.cpp:38:21: error: 'putchar' was not declared in this scope
         putchar('\n');  
                     ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-07-20 06:11:16, Gzip enabled