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_26515135_10062.cpp: In member function 'void Mat::gauss()':
0_0_26515135_10062.cpp:25:52: error: 'fabs' was not declared in this scope
             for(int k=i+1; k<n; ++k)if(fabs(a[k][i])>fabs(a[r][i]))r=k;
                                                    ^
0_0_26515135_10062.cpp:26:64: error: 'swap' was not declared in this scope
             if(r!=i)for(int j=i; j<=n; ++j)swap(a[i][j],a[r][j]);
                                                                ^
0_0_26515135_10062.cpp: In member function 'void AC::dfs(int, int)':
0_0_26515135_10062.cpp:73:54: error: 'printf' was not declared in this scope
                 for(int j=dep<<1; j; j>>=1)printf(" ");
                                                      ^
0_0_26515135_10062.cpp:74:32: error: 'printf' was not declared in this scope
                 printf("%d\n",i);
                                ^
0_0_26515135_10062.cpp: In member function 'void AC::getfail()':
0_0_26515135_10062.cpp:80:9: error: 'queue' was not declared in this scope
         queue<int> q;
         ^
0_0_26515135_10062.cpp:80:15: error: expected primary-expression before 'int'
         queue<int> q;
               ^
0_0_26515135_10062.cpp:87:17: error: 'q' was not declared in this scope
                 q.push(nxt[root][i]);
                 ^
0_0_26515135_10062.cpp:90:16: error: 'q' was not declared in this scope
         while(!q.empty())
                ^
0_0_26515135_10062.cpp: In function 'int main()':
0_0_26515135_10062.cpp:1:36: error: 'stdin' was not declared in this scope
 #define FRER() freopen("i.txt","r",stdin)
                                    ^
0_0_26515135_10062.cpp:124:5: note: in expansion of macro 'FRER'
     FRER();
     ^
0_0_26515135_10062.cpp:1:41: error: 'freopen' was not declared in this scope
 #define FRER() freopen("i.txt","r",stdin)
                                         ^
0_0_26515135_10062.cpp:124:5: note: in expansion of macro 'FRER'
     FRER();
     ^
0_0_26515135_10062.cpp:125:25: error: 'stdout' was not declared in this scope
     freopen("o.txt","w",stdout);
                         ^
0_0_26515135_10062.cpp:127:18: error: 'scanf' was not declared in this scope
     scanf("%d",&T);
                  ^
0_0_26515135_10062.cpp:143:40: error: 'printf' was not declared in this scope
                 printf("%.2lf ",G[i][j]);
                                        ^
0_0_26515135_10062.cpp:144:24: error: 'printf' was not declared in this scope
             printf("\n");
                        ^
0_0_26515135_10062.cpp:150:38: error: 'printf' was not declared in this scope
                 printf("%lf ",G[i][j]);
                                      ^
0_0_26515135_10062.cpp:151:24: error: 'printf' was not declared in this scope
             printf("\n");
                        ^
0_0_26515135_10062.cpp:155:51: error: 'printf' was not declared in this scope
         for(int i=0; i<n; ++i)printf("%lf ",ans[i]);
                                                   ^


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-11-01 12:38:57, Gzip enabled