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_32869433_489.cpp:1:61: error: stray '#' in program
 <span style="font-family:'Microsoft YaHei';font-size:14px;">#include<bits/stdc++.h>
                                                             ^
0_0_32869433_489.cpp:1:1: error: expected unqualified-id before '<' token
 <span style="font-family:'Microsoft YaHei';font-size:14px;">#include<bits/stdc++.h>
 ^
0_0_32869433_489.cpp: In function 'long long int read()':
0_0_32869433_489.cpp:6:29: error: 'getchar' was not declared in this scope
  LL f=1,x=0;char ch=getchar();
                             ^
0_0_32869433_489.cpp: In function 'int main()':
0_0_32869433_489.cpp:27:30: error: 'scanf' was not declared in this scope
  while(scanf("%lld%lld",&n,&m)!=EOF)
                              ^
0_0_32869433_489.cpp:27:33: error: 'EOF' was not declared in this scope
  while(scanf("%lld%lld",&n,&m)!=EOF)
                                 ^
0_0_32869433_489.cpp:43:4: error: 'cout' was not declared in this scope
    cout<<"-1\n";
    ^
0_0_32869433_489.cpp:46:23: error: 'memset' was not declared in this scope
   memset(f,0,sizeof(f));
                       ^
0_0_32869433_489.cpp:62:9: error: 'cout' was not declared in this scope
         cout<<ans<<endl;
         ^
0_0_32869433_489.cpp:62:20: error: 'endl' was not declared in this scope
         cout<<ans<<endl;
                    ^
0_0_32869433_489.cpp: At global scope:
0_0_32869433_489.cpp:67:1: error: expected unqualified-id before '<' token
 </span>//https://blog.csdn.net/qwerty1125/article/details/77529730
 ^


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-26 13:02:53, Gzip enabled