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_13806255_4501.cpp:1:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13806255_4501.cpp:2:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13806255_4501.cpp:3:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13806255_4501.cpp:4:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13806255_4501.cpp:5:9: error: #include expects "FILENAME" or <FILENAME>
 #include
         ^
0_0_13806255_4501.cpp:9:1: error: 'vector' does not name a type
 vector map[205];
 ^
0_0_13806255_4501.cpp: In function 'int bet(int, int)':
0_0_13806255_4501.cpp:16:5: error: 'xy' was not declared in this scope
  if(xy) return x;
     ^
0_0_13806255_4501.cpp: In function 'void dfs(int, int)':
0_0_13806255_4501.cpp:21:11: error: 'map' was not declared in this scope
  int size=map[bg].size();
           ^
0_0_13806255_4501.cpp:25:2: error: expected ';' before '{' token
  {
  ^
0_0_13806255_4501.cpp:25:2: error: expected primary-expression before '{' token
0_0_13806255_4501.cpp:25:2: error: expected ')' before '{' token
0_0_13806255_4501.cpp:26:6: error: 'c1' was not declared in this scope
   if(c1) dfs(map[bg][i],c-1);
      ^
0_0_13806255_4501.cpp:29:15: error: 'j1' was not declared in this scope
   for(int j=c;j1;--j)//当背包容量为c时,j=1时为只选bg
               ^
0_0_13806255_4501.cpp:32:4: error: expected ';' before '{' token
    {
    ^
0_0_13806255_4501.cpp:32:4: error: expected primary-expression before '{' token
0_0_13806255_4501.cpp:32:4: error: expected ')' before '{' token
0_0_13806255_4501.cpp: In function 'int main()':
0_0_13806255_4501.cpp:42:8: error: 'cinnm' was not declared in this scope
  while(cinnm)
        ^
0_0_13806255_4501.cpp:46:27: error: 'memset' was not declared in this scope
   memset(val,0,sizeof(val));
                           ^
0_0_13806255_4501.cpp:49:3: error: expected ';' before 'int'
   int a,b;
   ^
0_0_13806255_4501.cpp:49:3: error: expected primary-expression before 'int'
0_0_13806255_4501.cpp:49:3: error: expected ')' before 'int'
0_0_13806255_4501.cpp:51:3: error: expected ';' before '{' token
   {
   ^
0_0_13806255_4501.cpp:51:3: error: expected primary-expression before '{' token
0_0_13806255_4501.cpp:51:3: error: expected ')' before '{' token
0_0_13806255_4501.cpp:52:18: error: 'a' was not declared in this scope
    scanf("%d%d",&a,&b);
                  ^
0_0_13806255_4501.cpp:52:21: error: 'b' was not declared in this scope
    scanf("%d%d",&a,&b);
                     ^
0_0_13806255_4501.cpp:52:22: error: 'scanf' was not declared in this scope
    scanf("%d%d",&a,&b);
                      ^
0_0_13806255_4501.cpp:53:4: error: 'map' was not declared in this scope
    map[a].push_back(i);
    ^
0_0_13806255_4501.cpp:58:3: error: 'cout' was not declared in this scope
   cout
   ^


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-29 05:49:27, Gzip enabled