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_20789966_14262.cpp: In function 'int main()':
0_0_20789966_14262.cpp:17:35: error: unable to find numeric literal operator 'operator""n'
                     printf("%3d", 4n-3-i);
                                   ^
0_0_20789966_14262.cpp:17:35: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
0_0_20789966_14262.cpp:26:22: error: 'k' was not declared in this scope
         scanf("%d", &k);
                      ^
0_0_20789966_14262.cpp:27:24: error: 'a' was not declared in this scope
         printf("%d\n", a[k-1]);
                        ^
0_0_20789966_14262.cpp: At global scope:
0_0_20789966_14262.cpp:29:5: error: expected unqualified-id before 'return'
     return 0;
     ^
0_0_20789966_14262.cpp:30:1: error: expected declaration before '}' token
 }
 ^


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-15 16:50:02, Gzip enabled