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_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
    3 | map<PII, int> mp;
      |     ^~~
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:5: error: 'PII' was not declared in this scope
0_0_38728386_25402.cpp:3:1: error: 'map' does not name a type
    3 | map<PII, int> mp;
      | ^~~
0_0_38728386_25402.cpp:4:1: error: 'PII' does not name a type
    4 | PII p[N];
      | ^~~
0_0_38728386_25402.cpp: In function 'void konbi()':
0_0_38728386_25402.cpp:6:9: error: 'cin' was not declared in this scope
    6 |         cin >> n; mp.clear();
      |         ^~~
0_0_38728386_25402.cpp:6:19: error: 'mp' was not declared in this scope
    6 |         cin >> n; mp.clear();
      |                   ^~
0_0_38728386_25402.cpp:8:24: error: 'p' was not declared in this scope
    8 |                 cin >> p[i].fi >> p[i].se;
      |                        ^
0_0_38728386_25402.cpp:11:14: error: 'p' was not declared in this scope
   11 |         sort(p + 1, p + 2 * n + 1);
      |              ^
0_0_38728386_25402.cpp:11:9: error: 'sort' was not declared in this scope; did you mean 'short'?
   11 |         sort(p + 1, p + 2 * n + 1);
      |         ^~~~
      |         short
0_0_38728386_25402.cpp:12:16: error: 'PII' was not declared in this scope
   12 |         vector<PII> ans;
      |                ^~~
0_0_38728386_25402.cpp:12:9: error: 'vector' was not declared in this scope
   12 |         vector<PII> ans;
      |         ^~~~~~
0_0_38728386_25402.cpp:12:21: error: 'ans' was not declared in this scope
   12 |         vector<PII> ans;
      |                     ^~~
0_0_38728386_25402.cpp:17:24: error: expected primary-expression before 'int'
   17 |                 vector<int> id;
      |                        ^~~
0_0_38728386_25402.cpp:23:81: error: 'id' was not declared in this scope; did you mean 'i'?
   23 |                                 mp[p[j]]--; mp[{p[j].fi + dx, p[j].se + dy}]--; id.pb(j);
      |                                                                                 ^~
      |                                                                                 i
0_0_38728386_25402.cpp:41:19: error: 'unique' was not declared in this scope
   41 |         ans.erase(unique(ans.begin(), ans.end()), ans.end());
      |                   ^~~~~~
0_0_38728386_25402.cpp:42:9: error: 'cout' was not declared in this scope
   42 |         cout << ans.size() << "\n";
      |         ^~~~
0_0_38728386_25402.cpp: In function 'int main()':
0_0_38728386_25402.cpp:46:9: error: 'ios' has not been declared
   46 |         ios::sync_with_stdio(0);
      |         ^~~
0_0_38728386_25402.cpp:47:9: error: 'cin' was not declared in this scope
   47 |         cin.tie(0);
      |         ^~~


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-30 14:28:40, Gzip enabled