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_38715488_1278.cpp:10:2: error: invalid preprocessing directive #inlcude; did you mean #include?
   10 | #inlcude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
   15 | map<pair<ll, ll>, vector<ll> >mpb;//a>b,pair{a%b,b}->a%b+bk
      |     ^~~~
0_0_38715488_1278.cpp:1:1: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
  +++ |+#include <utility>
    1 | //#define _CRT_SECURE_NO_WARNINGS
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
   15 | map<pair<ll, ll>, vector<ll> >mpb;//a>b,pair{a%b,b}->a%b+bk
      |     ^~~~
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:15:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:15:1: error: 'map' does not name a type
   15 | map<pair<ll, ll>, vector<ll> >mpb;//a>b,pair{a%b,b}->a%b+bk
      | ^~~
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
   16 | map<pair<ll, ll>, vector<ll> >mpa;//a<b,pair{a,b%a}->b%a+ak
      |     ^~~~
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:5: error: 'pair' was not declared in this scope
0_0_38715488_1278.cpp:16:5: note: 'std::pair' is defined in header '<utility>'; did you forget to '#include <utility>'?
0_0_38715488_1278.cpp:16:1: error: 'map' does not name a type
   16 | map<pair<ll, ll>, vector<ll> >mpa;//a<b,pair{a,b%a}->b%a+ak
      | ^~~
0_0_38715488_1278.cpp:17:1: error: 'map' does not name a type
   17 | map<ll, int >mpc;//mpc[i]:a=b=iµÄÊýÁ¿
      | ^~~
0_0_38715488_1278.cpp: In function 'int main()':
0_0_38715488_1278.cpp:21:9: error: 'scanf' was not declared in this scope
   21 |         scanf("%d", &T);
      |         ^~~~~
0_0_38715488_1278.cpp:32:33: error: 'mpc' was not declared in this scope
   32 |                                 mpc[x]++;
      |                                 ^~~
0_0_38715488_1278.cpp:42:49: error: 'mpb' was not declared in this scope
   42 |                                                 mpb[{x, y}].push_back(z);
      |                                                 ^~~
0_0_38715488_1278.cpp:48:49: error: 'mpa' was not declared in this scope
   48 |                                                 mpa[{x, y}].push_back(z);
      |                                                 ^~~
0_0_38715488_1278.cpp:53:31: error: 'mpa' was not declared in this scope
   53 |                 for (auto v = mpa.begin(); v != mpa.end(); v++)
      |                               ^~~
0_0_38715488_1278.cpp:55:25: error: 'sort' was not declared in this scope; did you mean 'short'?
   55 |                         sort(v->second.begin(), v->second.end());
      |                         ^~~~
      |                         short
0_0_38715488_1278.cpp:57:31: error: 'mpb' was not declared in this scope
   57 |                 for (auto v = mpb.begin(); v != mpb.end(); v++)
      |                               ^~~
0_0_38715488_1278.cpp:59:25: error: 'sort' was not declared in this scope; did you mean 'short'?
   59 |                         sort(v->second.begin(), v->second.end());
      |                         ^~~~
      |                         short
0_0_38715488_1278.cpp:68:42: error: 'mpb' was not declared in this scope
   68 |                                 auto h = mpb.find({ x % y,y });
      |                                          ^~~
0_0_38715488_1278.cpp:72:57: error: 'lower_bound' was not declared in this scope
   72 |                                         ans = q.end() - lower_bound(q.begin(), q.end(), x);
      |                                                         ^~~~~~~~~~~
0_0_38715488_1278.cpp:77:43: error: 'mpa' was not declared in this scope
   77 |                                 auto h1 = mpa.find({ x,0 });
      |                                           ^~~
0_0_38715488_1278.cpp:81:58: error: 'lower_bound' was not declared in this scope
   81 |                                         ans += q.end() - lower_bound(q.begin(), q.end(), x);
      |                                                          ^~~~~~~~~~~
0_0_38715488_1278.cpp:83:43: error: 'mpb' was not declared in this scope
   83 |                                 auto h2 = mpb.find({ 0,y });
      |                                           ^~~
0_0_38715488_1278.cpp:87:58: error: 'lower_bound' was not declared in this scope
   87 |                                         ans += q.end() - lower_bound(q.begin(), q.end(), y);
      |                                                          ^~~~~~~~~~~
0_0_38715488_1278.cpp:89:43: error: 'mpc' was not declared in this scope
   89 |                                 auto h3 = mpc.find(x);
      |                                           ^~~
0_0_38715488_1278.cpp:99:42: error: 'mpa' was not declared in this scope
   99 |                                 auto h = mpa.find({ x ,y % x });
      |                                          ^~~
0_0_38715488_1278.cpp:103:57: error: 'lower_bound' was not declared in this scope
  103 |                                         ans = q.end() - lower_bound(q.begin(), q.end(), y);
      |                                                         ^~~~~~~~~~~
0_0_38715488_1278.cpp:106:25: error: 'printf' was not declared in this scope
  106 |                         printf("%lld\n", ans);
      |                         ^~~~~~
0_0_38715488_1278.cpp:1:1: note: 'printf' is defined in header '<cstdio>'; did you forget to '#include <cstdio>'?
  +++ |+#include <cstdio>
    1 | //#define _CRT_SECURE_NO_WARNINGS
0_0_38715488_1278.cpp:108:17: error: 'mpa' was not declared in this scope
  108 |                 mpa.clear();
      |                 ^~~
0_0_38715488_1278.cpp:109:17: error: 'mpb' was not declared in this scope
  109 |                 mpb.clear();
      |                 ^~~
0_0_38715488_1278.cpp:110:17: error: 'mpc' was not declared in this scope
  110 |                 mpc.clear();
      |                 ^~~


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-16 16:18:26, Gzip enabled