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_32862412_23725.cpp:3:11: error: unable to find numeric literal operator 'operator""int'
 #define M 301int P,N;
           ^
0_0_32862412_23725.cpp:4:13: note: in expansion of macro 'M'
 bool course[M][M],used[M];
             ^
0_0_32862412_23725.cpp:3:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define M 301int P,N;
           ^
0_0_32862412_23725.cpp:4:13: note: in expansion of macro 'M'
 bool course[M][M],used[M];
             ^
0_0_32862412_23725.cpp:3:18: error: expected ']' before 'P'
 #define M 301int P,N;
                  ^
0_0_32862412_23725.cpp:4:13: note: in expansion of macro 'M'
 bool course[M][M],used[M];
             ^
0_0_32862412_23725.cpp:4:14: error: expected unqualified-id before ']' token
 bool course[M][M],used[M];
              ^
0_0_32862412_23725.cpp:4:17: error: expected unqualified-id before ']' token
 bool course[M][M],used[M];
                 ^
0_0_32862412_23725.cpp:4:25: error: expected unqualified-id before ']' token
 bool course[M][M],used[M];
                         ^
0_0_32862412_23725.cpp:3:11: error: unable to find numeric literal operator 'operator""int'
 #define M 301int P,N;
           ^
0_0_32862412_23725.cpp:5:11: note: in expansion of macro 'M'
 int match[M];
           ^
0_0_32862412_23725.cpp:3:11: note: use -std=gnu++11 or -fext-numeric-literals to enable more built-in suffixes
 #define M 301int P,N;
           ^
0_0_32862412_23725.cpp:5:11: note: in expansion of macro 'M'
 int match[M];
           ^
0_0_32862412_23725.cpp:3:18: error: expected ']' before 'P'
 #define M 301int P,N;
                  ^
0_0_32862412_23725.cpp:5:11: note: in expansion of macro 'M'
 int match[M];
           ^
0_0_32862412_23725.cpp:5:12: error: expected unqualified-id before ']' token
 int match[M];
            ^
0_0_32862412_23725.cpp: In function 'int dfs(int)':
0_0_32862412_23725.cpp:9:16: error: 'N' was not declared in this scope
     for(i=1;i<=N;i++)
                ^
0_0_32862412_23725.cpp:11:12: error: 'course' was not declared in this scope
         if(course[k][i]&&!used[i])
            ^
0_0_32862412_23725.cpp:11:27: error: 'used' was not declared in this scope
         if(course[k][i]&&!used[i])
                           ^
0_0_32862412_23725.cpp:14:18: error: 'match' was not declared in this scope
             temp=match[i];
                  ^
0_0_32862412_23725.cpp: In function 'int Match()':
0_0_32862412_23725.cpp:26:12: error: 'match' was not declared in this scope
     memset(match,-1,sizeof(match));
            ^
0_0_32862412_23725.cpp:27:16: error: 'P' was not declared in this scope
     for(i=1;i<=P;i++)
                ^
0_0_32862412_23725.cpp:29:16: error: 'used' was not declared in this scope
         memset(used,0,sizeof(used));
                ^
0_0_32862412_23725.cpp: In function 'int main()':
0_0_32862412_23725.cpp:41:23: error: 'P' was not declared in this scope
         scanf("%d%d",&P,&N);
                       ^
0_0_32862412_23725.cpp:41:26: error: 'N' was not declared in this scope
         scanf("%d%d",&P,&N);
                          ^
0_0_32862412_23725.cpp:42:16: error: 'course' was not declared in this scope
         memset(course,0,sizeof(course));
                ^


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-05-25 01:58:47, Gzip enabled