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_32869283_19752.cpp:1:7: error: stray '#' in program
 <code>#include<bits/stdc++.h>
       ^
0_0_32869283_19752.cpp:1:1: error: expected unqualified-id before '<' token
 <code>#include<bits/stdc++.h>
 ^
0_0_32869283_19752.cpp: In function '__int128 read()':
0_0_32869283_19752.cpp:7:33: error: 'getchar' was not declared in this scope
     int a = 0; char c = getchar();
                                 ^
0_0_32869283_19752.cpp:8:21: error: 'isdigit' was not declared in this scope
     while(!isdigit(c) && c != EOF) c = getchar();
                     ^
0_0_32869283_19752.cpp:8:31: error: 'EOF' was not declared in this scope
     while(!isdigit(c) && c != EOF) c = getchar();
                               ^
0_0_32869283_19752.cpp:9:13: error: 'EOF' was not declared in this scope
     if(c == EOF) exit(0);
             ^
0_0_32869283_19752.cpp:9:24: error: 'exit' was not declared in this scope
     if(c == EOF) exit(0);
                        ^
0_0_32869283_19752.cpp:10:20: error: 'isdigit' was not declared in this scope
     while(isdigit(c)){
                    ^
0_0_32869283_19752.cpp: At global scope:
0_0_32869283_19752.cpp:18:1: error: 'map' does not name a type
 map < int , int > Hash;
 ^
0_0_32869283_19752.cpp: In function 'void dfs(__int128, __int128, __int128, __int128)':
0_0_32869283_19752.cpp:40:9: error: 'Hash' was not declared in this scope
         Hash[now] = ++cnt;
         ^
0_0_32869283_19752.cpp: In function 'int main()':
0_0_32869283_19752.cpp:76:41: error: 'sort' was not declared in this scope
         sort(arr + 1 , arr + M + 1 , cmp); arr[M + 1] = 0;
                                         ^
0_0_32869283_19752.cpp:77:62: error: 'Hash' was not declared in this scope
         printf("Case #%d: %.10lf\n" , (signed)(++Case) , ans[Hash[find()]][0]);
                                                              ^
0_0_32869283_19752.cpp:77:78: error: 'printf' was not declared in this scope
         printf("Case #%d: %.10lf\n" , (signed)(++Case) , ans[Hash[find()]][0]);
                                                                              ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-01-10 10:59:15, Gzip enabled