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_38962727_7935.cpp:1:3: error: stray '#' in program
    1 | 1 #include<bits/stdc++.h>
      |   ^
0_0_38962727_7935.cpp:1:1: error: expected unqualified-id before numeric constant
    1 | 1 #include<bits/stdc++.h>
      | ^
0_0_38962727_7935.cpp:3:2: error: expected unqualified-id before numeric constant
    3 |  3 typedef long long ll;
      |  ^
0_0_38962727_7935.cpp:4:2: error: expected unqualified-id before numeric constant
    4 |  4 const int maxn=1e5+10;
      |  ^
0_0_38962727_7935.cpp:5:2: error: expected unqualified-id before numeric constant
    5 |  5 vector<int> mp[maxn];
      |  ^
0_0_38962727_7935.cpp:6:2: error: expected unqualified-id before numeric constant
    6 |  6 int a[maxn];
      |  ^
0_0_38962727_7935.cpp:7:2: error: expected unqualified-id before numeric constant
    7 |  7 bool cmp(int p,int q){return a[p]<a[q] || a[p]==a[q] && p<q;}
      |  ^
0_0_38962727_7935.cpp:8:2: error: expected unqualified-id before numeric constant
    8 |  8 ll ans;
      |  ^
0_0_38962727_7935.cpp:9:2: error: expected unqualified-id before numeric constant
    9 |  9 void dfs(int x,int fx,int y,int fy){
      |  ^
0_0_38962727_7935.cpp:24:1: error: expected unqualified-id before numeric constant
   24 | 24 int main(){
      | ^~
0_0_38962727_7935.cpp:47:1: error: 'P6295' does not name a type
   47 | P6295
      | ^~~~~


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-25 09:47:45, Gzip enabled