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_19609418_27774.cpp:2:4: error: stray '#' in program
  2 #include <iostream>
    ^
0_0_19609418_27774.cpp:2:2: error: expected unqualified-id before numeric constant
  2 #include <iostream>
  ^
0_0_19609418_27774.cpp:4:2: error: expected unqualified-id before numeric constant
  4 const int mod=1000000007;
  ^
0_0_19609418_27774.cpp:5:2: error: expected unqualified-id before numeric constant
  5 int f[10000005];
  ^
0_0_19609418_27774.cpp:6:2: error: expected unqualified-id before numeric constant
  6 int sf(int x){return x==f[x]? x: f[x]=sf(f[x]);}
  ^
0_0_19609418_27774.cpp:7:2: error: expected unqualified-id before numeric constant
  7 int Union(int x,int y){
  ^
0_0_19609418_27774.cpp:12:1: error: expected unqualified-id before numeric constant
 12 long long power(int x){
 ^
0_0_19609418_27774.cpp:19:1: error: expected unqualified-id before numeric constant
 19 int main(){
 ^


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-09-30 02:18:29, Gzip enabled