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_29854975_2534.cpp:1:1: error: 'include' does not name a type
 include<bits/stdc++.h>
 ^
0_0_29854975_2534.cpp:7:1: error: 'vector' does not name a type
 vector<pair<int,int>>d[N];
 ^
0_0_29854975_2534.cpp: In function 'void init()':
0_0_29854975_2534.cpp:11:24: error: 'scanf' was not declared in this scope
      scanf("%d%d",&n,&m);
                        ^
0_0_29854975_2534.cpp:14:8: error: 'd' was not declared in this scope
        d[i].clear();
        ^
0_0_29854975_2534.cpp:15:29: error: 'make_pair' was not declared in this scope
        d[i].push_back(mp(i,1));
                             ^
0_0_29854975_2534.cpp:20:8: error: 'd' was not declared in this scope
        d[r].push_back(mp(l,x));
        ^
0_0_29854975_2534.cpp:20:29: error: 'make_pair' was not declared in this scope
        d[r].push_back(mp(l,x));
                             ^
0_0_29854975_2534.cpp:22:26: error: 'memset' was not declared in this scope
      memset(f,0,sizeof(f));
                          ^
0_0_29854975_2534.cpp:43:26: error: 'd' was not declared in this scope
              for(auto pi:d[cur])
                          ^
0_0_29854975_2534.cpp:54:23: error: 'printf' was not declared in this scope
      printf("%d\n",ans);
                       ^
0_0_29854975_2534.cpp: In function 'int main()':
0_0_29854975_2534.cpp:58:19: error: 'scanf' was not declared in this scope
      scanf("%d",&T);
                   ^


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-12-03 18:13:58, Gzip enabled