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_25043376_10982.cpp:15:2: error: stray '#' in program
  using namespace std;
  ^
0_0_25043376_10982.cpp:16:2: error: stray '#' in program
  typedef long long LL;
  ^
0_0_25043376_10982.cpp:19:2: error: stray '#' in program
  PII in[20];
  ^
0_0_25043376_10982.cpp:26:2: error: stray '#' in program
  if(a > 300) return ;
  ^
0_0_25043376_10982.cpp:27:2: error: stray '#' in program
  if(b > 300) return ;
  ^
0_0_25043376_10982.cpp:28:2: error: stray '#' in program
  if(c > 300) return ;
  ^
0_0_25043376_10982.cpp:29:2: error: stray '#' in program
  if(at > maxSolve)
  ^
0_0_25043376_10982.cpp:30:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:31:2: error: stray '#' in program
  maxSolve = at;
  ^
0_0_25043376_10982.cpp:32:2: error: stray '#' in program
  minnTime = t;
  ^
0_0_25043376_10982.cpp:33:2: error: stray '#' in program
  for(int i = 0; i < at; i++ )
  ^
0_0_25043376_10982.cpp:34:2: error: stray '#' in program
  ans[i] = order[i];
  ^
0_0_25043376_10982.cpp:35:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:36:2: error: stray '#' in program
  else if(at == maxSolve)
  ^
0_0_25043376_10982.cpp:37:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:38:2: error: stray '#' in program
  if(t < minnTime)
  ^
0_0_25043376_10982.cpp:39:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:40:2: error: stray '#' in program
  minnTime = t;
  ^
0_0_25043376_10982.cpp:41:2: error: stray '#' in program
  for(int i = 0; i < at; i++ )
  ^
0_0_25043376_10982.cpp:42:2: error: stray '#' in program
  ans[i] = order[i];
  ^
0_0_25043376_10982.cpp:43:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:44:2: error: stray '#' in program
  else if(t == minnTime)
  ^
0_0_25043376_10982.cpp:45:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:46:2: error: stray '#' in program
  sort(ans, ans + maxSolve);
  ^
0_0_25043376_10982.cpp:47:2: error: stray '#' in program
  PII temp[20];
  ^
0_0_25043376_10982.cpp:48:2: error: stray '#' in program
  for(int i = 0; i < maxSolve; i++ ) temp[i] = order[i];
  ^
0_0_25043376_10982.cpp:49:2: error: stray '#' in program
  sort(temp, temp + maxSolve);
  ^
0_0_25043376_10982.cpp:50:2: error: stray '#' in program
  int swap = 0;
  ^
0_0_25043376_10982.cpp:51:2: error: stray '#' in program
  for(int i = 0; i < maxSolve; i++ )
  ^
0_0_25043376_10982.cpp:52:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:53:2: error: stray '#' in program
  if(temp[i].second < ans[i].second)
  ^
0_0_25043376_10982.cpp:54:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:55:2: error: stray '#' in program
  swap = 1;
  ^
0_0_25043376_10982.cpp:56:2: error: stray '#' in program
  break;
  ^
0_0_25043376_10982.cpp:57:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:58:2: error: stray '#' in program
  else if(temp[i].second > ans[i].second)
  ^
0_0_25043376_10982.cpp:59:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:60:2: error: stray '#' in program
  break;
  ^
0_0_25043376_10982.cpp:61:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:62:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:63:2: error: stray '#' in program
  if(swap)
  ^
0_0_25043376_10982.cpp:64:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:65:2: error: stray '#' in program
  for(int i = 0; i < maxSolve; i++ ) ans[i] = temp[i];
  ^
0_0_25043376_10982.cpp:66:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:67:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:68:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:69:2: error: stray '#' in program
  
  ^
0_0_25043376_10982.cpp:70:2: error: stray '#' in program
  if(at == n) return ;
  ^
0_0_25043376_10982.cpp:71:2: error: stray '#' in program
  order[at] = PII(a + in[at].first, in[at].second);
  ^
0_0_25043376_10982.cpp:72:2: error: stray '#' in program
  search(a + in[at].first, b, c, at + 1, t + a + in[at].first);
  ^
0_0_25043376_10982.cpp:73:2: error: stray '#' in program
  order[at] = PII(b + in[at].first, in[at].second);
  ^
0_0_25043376_10982.cpp:74:2: error: stray '#' in program
  search(a, b + in[at].first, c, at + 1, t + b + in[at].first);
  ^
0_0_25043376_10982.cpp:75:2: error: stray '#' in program
  order[at] = PII(c + in[at].first, in[at].second);
  ^
0_0_25043376_10982.cpp:76:2: error: stray '#' in program
  search(a, b, c + in[at].first, at + 1, t + c + in[at].first);
  ^
0_0_25043376_10982.cpp:80:2: error: stray '#' in program
  public:
  ^
0_0_25043376_10982.cpp:81:2: error: stray '#' in program
  void main2()
  ^
0_0_25043376_10982.cpp:82:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:83:2: error: stray '#' in program
  cin >> n;
  ^
0_0_25043376_10982.cpp:84:2: error: stray '#' in program
  for(int i = 0; i < n; i++ )
  ^
0_0_25043376_10982.cpp:85:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:86:2: error: stray '#' in program
  cin >> in[i].first;
  ^
0_0_25043376_10982.cpp:87:2: error: stray '#' in program
  in[i].second = 'A' + i;
  ^
0_0_25043376_10982.cpp:88:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:89:2: error: stray '#' in program
  sort(in, in + n);
  ^
0_0_25043376_10982.cpp:90:2: error: stray '#' in program
  maxSolve = 1;
  ^
0_0_25043376_10982.cpp:91:2: error: stray '#' in program
  minnTime = in[0].first;
  ^
0_0_25043376_10982.cpp:92:2: error: stray '#' in program
  order[0] = PII(in[0].first, in[0].second);
  ^
0_0_25043376_10982.cpp:93:2: error: stray '#' in program
  search(in[0].first, 0, 0, 1, in[0].first);
  ^
0_0_25043376_10982.cpp:94:2: error: stray '#' in program
  sort(ans, ans + maxSolve);
  ^
0_0_25043376_10982.cpp:95:2: error: stray '#' in program
  for(int i = 0; i < maxSolve; i++ ) printf("%c ", ans[i].second);
  ^
0_0_25043376_10982.cpp:96:2: error: stray '#' in program
  printf("%d %d\n", maxSolve, minnTime);
  ^
0_0_25043376_10982.cpp:97:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:99:2: error: stray '#' in program
  int main()
  ^
0_0_25043376_10982.cpp:101:2: error: stray '#' in program
  int Test;
  ^
0_0_25043376_10982.cpp:102:2: error: stray '#' in program
  scanf("%d", &Test);
  ^
0_0_25043376_10982.cpp:103:2: error: stray '#' in program
  for(int t = 1; t <= Test; t++ )
  ^
0_0_25043376_10982.cpp:104:2: error: stray '#' in program
  {
  ^
0_0_25043376_10982.cpp:105:2: error: stray '#' in program
  Solve ___test;
  ^
0_0_25043376_10982.cpp:106:2: error: stray '#' in program
  printf("Data set %d: ", t);
  ^
0_0_25043376_10982.cpp:107:2: error: stray '#' in program
  ___test.main2();
  ^
0_0_25043376_10982.cpp:108:2: error: stray '#' in program
  }
  ^
0_0_25043376_10982.cpp:15:3: error: expected unqualified-id before numeric constant
  using namespace std;
   ^
0_0_25043376_10982.cpp:15:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_25043376_10982.cpp:16:3: error: expected unqualified-id before numeric constant
  typedef long long LL;
   ^
0_0_25043376_10982.cpp:16:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_25043376_10982.cpp:19:3: error: expected unqualified-id before numeric constant
  PII in[20];
   ^
0_0_25043376_10982.cpp:19:3: error: expected constructor, destructor, or type conversion before numeric constant
0_0_25043376_10982.cpp: In function 'void search(int, int, int, int, int)':
0_0_25043376_10982.cpp:26:3: error: lvalue required as unary '&' operand
  if(a > 300) return ;
   ^
0_0_25043376_10982.cpp:27:3: error: lvalue required as unary '&' operand
  if(b > 300) return ;
   ^
0_0_25043376_10982.cpp:28:3: error: lvalue required as unary '&' operand
  if(c > 300) return ;
   ^
0_0_25043376_10982.cpp:29:3: error: lvalue required as unary '&' operand
  if(at > maxSolve)
   ^
0_0_25043376_10982.cpp:30:3: error: lvalue required as unary '&' operand
  {
   ^
0_0_25043376_10982.cpp:31:3: error: lvalue required as unary '&' operand
  maxSolve = at;
   ^
0_0_25043376_10982.cpp:32:3: error: lvalue required as unary '&' operand
  minnTime = t;
   ^
0_0_25043376_10982.cpp:33:3: error: lvalue required as unary '&' operand
  for(int i = 0; i < at; i++ )
   ^
0_0_25043376_10982.cpp:34:3: error: lvalue required as unary '&' operand
  ans[i] = order[i];
   ^
0_0_25043376_10982.cpp:34:11: error: 'i' was not declared in this scope
  ans[i] = order[i];
           ^
0_0_25043376_10982.cpp:35:3: error: lvalue required as unary '&' operand
  }
   ^
0_0_25043376_10982.cpp:36:3: error: lvalue required as unary '&' operand
  else if(at == maxSolve)
   ^
0_0_25043376_10982.cpp:36:7: error: 'else' withou


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 14:38:50, Gzip enabled