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_33339218_3036.cpp: In function 'int main()':
0_0_33339218_3036.cpp:6:36: error: 'scanf' was not declared in this scope
  while(scanf("%d%d%d%d",&n,&m,&X,&P)!=EOF)
                                    ^
0_0_33339218_3036.cpp:6:39: error: 'EOF' was not declared in this scope
  while(scanf("%d%d%d%d",&n,&m,&X,&P)!=EOF)
                                       ^
0_0_33339218_3036.cpp:8:8: error: 'init' was not declared in this scope
   init(); 
        ^
0_0_33339218_3036.cpp:10:4: error: 'node' was not declared in this scope
    node[i].clear();
    ^
0_0_33339218_3036.cpp:15:4: error: 'node' was not declared in this scope
    node[l].push_back(d);
    ^
0_0_33339218_3036.cpp:17:4: error: 'v' was not declared in this scope
    v.push_back(d);
    ^
0_0_33339218_3036.cpp:19:13: error: 'discreate' was not declared in this scope
   discreate();
             ^
0_0_33339218_3036.cpp:22:4: error: 'root' was not declared in this scope
    root[i]=root[i-1];
    ^
0_0_33339218_3036.cpp:23:15: error: 'node' was not declared in this scope
    for(auto t:node[i])
               ^
0_0_33339218_3036.cpp:24:24: error: 'abs' was not declared in this scope
     update(get_id(abs(t)),t<0?-1:1,root[i],1,v.size());
                        ^
0_0_33339218_3036.cpp:24:25: error: 'get_id' was not declared in this scope
     update(get_id(abs(t)),t<0?-1:1,root[i],1,v.size());
                         ^
0_0_33339218_3036.cpp:24:46: error: 'v' was not declared in this scope
     update(get_id(abs(t)),t<0?-1:1,root[i],1,v.size());
                                              ^
0_0_33339218_3036.cpp:24:54: error: 'update' was not declared in this scope
     update(get_id(abs(t)),t<0?-1:1,root[i],1,v.size());
                                                      ^
0_0_33339218_3036.cpp:26:3: error: 'LL' was not declared in this scope
   LL pre=1;
   ^
0_0_33339218_3036.cpp:31:11: error: 'pre' was not declared in this scope
    int k=(pre*a+b)%c;
           ^
0_0_33339218_3036.cpp:32:7: error: expected ';' before 'ans'
    LL ans=query(root[x],k,1,v.size());
       ^
0_0_33339218_3036.cpp:34:5: error: 'ans' was not declared in this scope
     ans*=2;
     ^
0_0_33339218_3036.cpp:35:20: error: 'ans' was not declared in this scope
    printf("%lld\n",ans);
                    ^
0_0_33339218_3036.cpp:35:23: error: 'printf' was not declared in this scope
    printf("%lld\n",ans);
                       ^


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-06-29 11:27:12, Gzip enabled