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_13809701_9597.cpp:1:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809701_9597.cpp:2:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809701_9597.cpp:3:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809701_9597.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
 #include 
          ^
0_0_13809701_9597.cpp: In function 'bool test(int)':
0_0_13809701_9597.cpp:15:5: error: expected ';' before '{' token
     {
     ^
0_0_13809701_9597.cpp:15:5: error: expected primary-expression before '{' token
0_0_13809701_9597.cpp:15:5: error: expected ')' before '{' token
0_0_13809701_9597.cpp:17:13: error: expected ')' before 'sum'
             sum++;
             ^
0_0_13809701_9597.cpp:23:1: error: expected ';' before '}' token
 }
 ^
0_0_13809701_9597.cpp: In function 'int Bsearch(int, int)':
0_0_13809701_9597.cpp:29:5: error: expected ')' before '{' token
     {
     ^
0_0_13809701_9597.cpp:35:31: error: 'min' was not declared in this scope
             res = min(res, mid), r = mid - 1;
                               ^
0_0_13809701_9597.cpp: In function 'void solve()':
0_0_13809701_9597.cpp:45:5: error: expected ';' before '{' token
     {
     ^
0_0_13809701_9597.cpp:45:5: error: expected primary-expression before '{' token
0_0_13809701_9597.cpp:45:5: error: expected ')' before '{' token
0_0_13809701_9597.cpp:46:23: error: 'scanf' was not declared in this scope
         scanf("%d", &l);
                       ^
0_0_13809701_9597.cpp:50:22: error: 'sort' was not declared in this scope
     sort(v, v + n + 2);
                      ^
0_0_13809701_9597.cpp:52:23: error: 'printf' was not declared in this scope
     printf("%d\n", ans);
                       ^
0_0_13809701_9597.cpp: In function 'int main()':
0_0_13809701_9597.cpp:57:38: error: 'scanf' was not declared in this scope
     while (~scanf("%d%d%d",&l, &n, &k))
                                      ^


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.000000(s) query 1, Server time : 2025-01-10 18:04:30, Gzip enabled