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_39152620_22664.cpp:19:12: error: 'll' was not declared in this scope
   19 | bool check(ll x)
      |            ^~
0_0_39152620_22664.cpp: In function 'int main()':
0_0_39152620_22664.cpp:42:9: error: 'll' was not declared in this scope
   42 |         ll t;scanf("%lld",&t);
      |         ^~
0_0_39152620_22664.cpp:42:28: error: 't' was not declared in this scope; did you mean 'tm'?
   42 |         ll t;scanf("%lld",&t);
      |                            ^
      |                            tm
0_0_39152620_22664.cpp:46:23: error: expected ';' before 'i'
   46 |                 for(ll i=1;i<=n;i++) scanf("%lld",&a[i]);
      |                       ^~
      |                       ;
0_0_39152620_22664.cpp:46:28: error: 'i' was not declared in this scope
   46 |                 for(ll i=1;i<=n;i++) scanf("%lld",&a[i]);
      |                            ^
0_0_39152620_22664.cpp:48:19: error: expected ';' before 'l'
   48 |                 ll l=1,r=1e9+7;
      |                   ^~
      |                   ;
0_0_39152620_22664.cpp:49:23: error: 'l' was not declared in this scope
   49 |                 while(l<=r)
      |                       ^
0_0_39152620_22664.cpp:49:26: error: 'r' was not declared in this scope
   49 |                 while(l<=r)
      |                          ^
0_0_39152620_22664.cpp:51:27: error: expected ';' before 'mid'
   51 |                         ll mid=(l+r)/2;
      |                           ^~~~
      |                           ;
0_0_39152620_22664.cpp:52:34: error: 'mid' was not declared in this scope
   52 |                         if(check(mid))          //如果mid第k大的区间个数大于m个,说明mid比实际答案小。
      |                                  ^~~
0_0_39152620_22664.cpp:52:37: error: 'check' cannot be used as a function
   52 |                         if(check(mid))          //如果mid第k大的区间个数大于m个,说明mid比实际答案小。
      |                                     ^
0_0_39152620_22664.cpp:61:33: error: 'r' was not declared in this scope
   61 |                 printf("%lld\n",r);
      |                                 ^


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 22:54:30, Gzip enabled