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_30051460_32279.cpp: In function 'bool Judge_three(long long int)':
0_0_30051460_32279.cpp:31:15: error: redeclaration of 'long long int l'
     long long l = 10010, r = 1000000;
               ^
0_0_30051460_32279.cpp:30:15: note: 'long long int l' previously declared here
     long long l = (long long)(sqrt(sqrt(n))) - 100 * 1LL, r = (long long)(sqrt(n)) + 100 * 1LL;
               ^
0_0_30051460_32279.cpp:31:26: error: redeclaration of 'long long int r'
     long long l = 10010, r = 1000000;
                          ^
0_0_30051460_32279.cpp:30:59: note: 'long long int r' previously declared here
     long long l = (long long)(sqrt(sqrt(n))) - 100 * 1LL, r = (long long)(sqrt(n)) + 100 * 1LL;
                                                           ^


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-22 22:39:23, Gzip enabled