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_36460449_32195.cpp:25:5: error: stray '\243' in program
     if(sum[mid]-sum[i-1]<k)£û
     ^
0_0_36460449_32195.cpp:25:5: error: stray '\373' in program
0_0_36460449_32195.cpp: In function 'int main()':
0_0_36460449_32195.cpp:17:7: error: 'i' was not declared in this scope
   sum[i]=sum[i-1]+a[i];
       ^
0_0_36460449_32195.cpp:19:16: error: expected primary-expression before '=' token
  for(int i=1;i,=n;i++){
                ^
0_0_36460449_32195.cpp:21:3: error: 'r' was not declared in this scope
   r=n;
   ^
0_0_36460449_32195.cpp:28:10: error: 'mid' was not declared in this scope
   else r=mid;
          ^


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-02-27 23:59:59, Gzip enabled