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_20725169_29959.cpp:50:2: error: expected initializer before 'int'
  int T;
  ^
0_0_20725169_29959.cpp:52:8: error: expected constructor, destructor, or type conversion before '(' token
  memset(dp, 0, sizeof(dp));
        ^
0_0_20725169_29959.cpp:53:8: error: expected constructor, destructor, or type conversion before '(' token
  memset(vis, 0, sizeof(vis));
        ^
0_0_20725169_29959.cpp:54:2: error: 'pi' does not name a type
  pi[0] = 1;
  ^
0_0_20725169_29959.cpp:55:2: error: expected unqualified-id before 'for'
  for (int i = 1; i <= 19; i++)
  ^
0_0_20725169_29959.cpp:55:18: error: 'i' does not name a type
  for (int i = 1; i <= 19; i++)
                  ^
0_0_20725169_29959.cpp:55:27: error: 'i' does not name a type
  for (int i = 1; i <= 19; i++)
                           ^
0_0_20725169_29959.cpp:57:7: error: expected constructor, destructor, or type conversion before '(' token
  scanf("%d", &T);
       ^
0_0_20725169_29959.cpp:58:2: error: expected unqualified-id before 'while'
  while (T--) {
  ^
0_0_20725169_29959.cpp:65:2: error: expected unqualified-id before 'return'
  return 0;
  ^
0_0_20725169_29959.cpp:66: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-25 03:34:41, Gzip enabled