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_38550759_29542.cpp: In function 'int main()':
0_0_38550759_29542.cpp:5:16: error: 'long' invalid for 's'
     long float s;
                ^
0_0_38550759_29542.cpp:6:19: error: unable to find numeric literal operator 'operator""B'
     for(i=0;i<n;i%2B%2B)
                   ^
0_0_38550759_29542.cpp:6:19: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38550759_29542.cpp:6:22: error: unable to find numeric literal operator 'operator""B'
     for(i=0;i<n;i%2B%2B)
                      ^
0_0_38550759_29542.cpp:6:22: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38550759_29542.cpp:9:26: error: unable to find numeric literal operator 'operator""Bpow'
      s=quar(pow(x1-x2,2)%2Bpow(y1-y2,2));
                          ^
0_0_38550759_29542.cpp:9:26: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38550759_29542.cpp:9:40: error: 'quar' was not declared in this scope
      s=quar(pow(x1-x2,2)%2Bpow(y1-y2,2));
                                        ^


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-17 00:34:07, Gzip enabled