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_38216752_4846.cpp:10:13: error: unable to find numeric literal operator 'operator""MAXn'
 long long x[2MAXn+1],y[2MAXn+1];
             ^
0_0_38216752_4846.cpp:10:13: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:10:24: error: unable to find numeric literal operator 'operator""MAXn'
 long long x[2MAXn+1],y[2MAXn+1];
                        ^
0_0_38216752_4846.cpp:10:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp: In function 'int main()':
0_0_38216752_4846.cpp:18:9: error: 'x' was not declared in this scope
         x[2i-1]=x1[i]; 
         ^
0_0_38216752_4846.cpp:18:11: error: unable to find numeric literal operator 'operator""i'
         x[2i-1]=x1[i]; 
           ^
0_0_38216752_4846.cpp:18:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:19:11: error: unable to find numeric literal operator 'operator""i'
         x[2i]=x2[i]; 
           ^
0_0_38216752_4846.cpp:19:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:20:9: error: 'y' was not declared in this scope
         y[2i-1]=y1[i];
         ^
0_0_38216752_4846.cpp:20:11: error: unable to find numeric literal operator 'operator""i'
         y[2i-1]=y1[i];
           ^
0_0_38216752_4846.cpp:20:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:21:11: error: unable to find numeric literal operator 'operator""i'
         y[2i]=y2[i]; 
           ^
0_0_38216752_4846.cpp:21:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:23:10: error: 'x' was not declared in this scope
     sort(x+1,x+2n+1); 
          ^
0_0_38216752_4846.cpp:23:16: error: unable to find numeric literal operator 'operator""n'
     sort(x+1,x+2n+1); 
                ^
0_0_38216752_4846.cpp:23:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:24:10: error: 'y' was not declared in this scope
     sort(y+1,y+2n+1); 
          ^
0_0_38216752_4846.cpp:24:16: error: unable to find numeric literal operator 'operator""n'
     sort(y+1,y+2n+1); 
                ^
0_0_38216752_4846.cpp:24:16: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:25:20: error: unable to find numeric literal operator 'operator""n'
     for(int i=1;i<=2n-1;i++) //枚举每一个单位横坐标,这两句看图 
                    ^
0_0_38216752_4846.cpp:25:20: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_38216752_4846.cpp:26:24: error: unable to find numeric literal operator 'operator""n'
         for(int j=1;j<=2n-1;j++)  //枚举每一个单位纵坐标
                        ^
0_0_38216752_4846.cpp:26:24: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes


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 19:06:11, Gzip enabled