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_39504492_19695.cpp: In function 'void solve()':
0_0_39504492_19695.cpp:73:18: error: redeclaration of 'long long int l'
   73 |     int ans = 0, l = -2e9, r = 2e9;
      |                  ^
0_0_39504492_19695.cpp:65:9: note: 'long long int l' previously declared here
   65 |     int l = 0, r = 0;
      |         ^
0_0_39504492_19695.cpp:73:28: error: redeclaration of 'long long int r'
   73 |     int ans = 0, l = -2e9, r = 2e9;
      |                            ^
0_0_39504492_19695.cpp:65:16: note: 'long long int r' previously declared here
   65 |     int l = 0, r = 0;
      |                ^


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-25 14:51:17, Gzip enabled