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_31763537_8010.cpp: In function 'int main()':
0_0_31763537_8010.cpp:6:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long
                 ^
0_0_31763537_8010.cpp:55:13: note: in expansion of macro 'll'
         int ll;
             ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:56:22: note: in expansion of macro 'll'
         scanf("%d", &ll);
                      ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:57:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected ';' before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:57:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:57:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected ')' before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:57:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long
                 ^
0_0_31763537_8010.cpp:57:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:57:33: error: 'i' was not declared in this scope
         for(int i = 1; i <= ll; i++) {
                                 ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:61:21: note: in expansion of macro 'll'
         sort(q+1, q+ll+1, cmp);
                     ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:66:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected ';' before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:66:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:66:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected ')' before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:66:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long
                 ^
0_0_31763537_8010.cpp:66:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++) {
                             ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:75:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++){
                             ^
0_0_31763537_8010.cpp:6:12: error: expected ';' before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:75:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++){
                             ^
0_0_31763537_8010.cpp:6:12: error: expected primary-expression before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:75:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++){
                             ^
0_0_31763537_8010.cpp:6:12: error: expected ')' before 'long'
 #define ll long long
            ^
0_0_31763537_8010.cpp:75:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++){
                             ^
0_0_31763537_8010.cpp:6:17: error: declaration does not declare anything [-fpermissive]
 #define ll long long
                 ^
0_0_31763537_8010.cpp:75:29: note: in expansion of macro 'll'
         for(int i = 1; i <= ll; i++){
                             ^


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-10-06 05:03:41, Gzip enabled