/ XMU_ACM /

记录详情

Compile Error

/in/foo.cc:34:1: error: 'map' does not name a type
 map <int> pos;
 ^~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:98:67: error: 'pos' was not declared in this scope
         read(pre[i].x,pre[i].y),ma[change(pre[i].x,pre[i].y)] = 1,pos[change(pre[i].x,pre[i].y)]= 1;
                                                                   ^~~
/in/foo.cc:104:9: error: 'map' was not declared in this scope
     for(map<int,int>::iterator e = pos.begin();e != pos.end();++e) {
         ^~~
/in/foo.cc:11:13: error: expected primary-expression before 'long'
 #define int long long
             ^
/in/foo.cc:104:13: note: in expansion of macro 'int'
     for(map<int,int>::iterator e = pos.begin();e != pos.end();++e) {
             ^~~
/in/foo.cc:104:48: error: 'e' was not declared in this scope
     for(map<int,int>::iterator e = pos.begin();e != pos.end();++e) {
                                                ^
/in/foo.cc:104:53: error: 'pos' was not declared in this scope
     for(map<int,int>::iterator e = pos.begin();e != pos.end();++e) {
                                                     ^~~
/in/foo.cc:105:40: error: 'rel' was not declared in this scope
         pair<int,int> sup= rel(e->first);
                                        ^
/in/foo.cc:105:23: warning: unused variable 'sup' [-Wunused-variable]
         pair<int,int> sup= rel(e->first);
                       ^~~

信息

递交者
类型
自测
题目
P1071 最短路模板题
语言
C++
递交时间
2021-01-06 17:22:31
评测时间
2021-01-06 17:22:31
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes