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_32961318_22729.cpp:11:2: error: expected unqualified-id before ']' token
  ];
  ^
0_0_32961318_22729.cpp:12:2: error: expected unqualified-id before ']' token
  ];
  ^
0_0_32961318_22729.cpp:14:2: error: expected unqualified-id before ']' token
  ];
  ^
0_0_32961318_22729.cpp: In function 'int solve(int)':
0_0_32961318_22729.cpp:20:10: error: 's1' was not declared in this scope
          s1[k1++]=x%;
          ^
0_0_32961318_22729.cpp:20:13: error: 'k1' was not declared in this scope
          s1[k1++]=x%;
             ^
0_0_32961318_22729.cpp:20:21: error: expected primary-expression before ';' token
          s1[k1++]=x%;
                     ^
0_0_32961318_22729.cpp:21:14: error: expected primary-expression before ';' token
          x=x/;
              ^
0_0_32961318_22729.cpp:24:7: error: 'i' was not declared in this scope
      ;i<k1;i++)
       ^
0_0_32961318_22729.cpp:24:9: error: 'k1' was not declared in this scope
      ;i<k1;i++)
         ^
0_0_32961318_22729.cpp:29:13: error: 'ans' was not declared in this scope
      return ans;
             ^
0_0_32961318_22729.cpp: In function 'int main()':
0_0_32961318_22729.cpp:38:11: error: 'i' was not declared in this scope
          ;i<n;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-06-29 08:05:09, Gzip enabled