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_39198901_20203.cpp:151:14: error: expected constructor, destructor, or type conversion before '(' token
  151 |         times(r,u,n,n);
      |              ^
0_0_39198901_20203.cpp:152:16: error: expected constructor, destructor, or type conversion before '(' token
  152 |         reverse(u,u+n);
      |                ^
0_0_39198901_20203.cpp:153:14: error: expected constructor, destructor, or type conversion before '(' token
  153 |         times(g,u,n,n);
      |              ^
0_0_39198901_20203.cpp:154:16: error: expected constructor, destructor, or type conversion before '(' token
  154 |         reverse(g,g+n);
      |                ^
0_0_39198901_20203.cpp:156:9: error: 'cpw' does not name a type; did you mean 'cpx'?
  156 |         cpw=1;
      |         ^~~
      |         cpx
0_0_39198901_20203.cpp:157:9: error: 'cpw2' does not name a type
  157 |         cpw2=1;
      |         ^~~~
0_0_39198901_20203.cpp:158:9: error: expected unqualified-id before 'for'
  158 |         for(int i=0;i<n;i++){
      |         ^~~
0_0_39198901_20203.cpp:158:21: error: 'i' does not name a type
  158 |         for(int i=0;i<n;i++){
      |                     ^
0_0_39198901_20203.cpp:158:25: error: 'i' does not name a type
  158 |         for(int i=0;i<n;i++){
      |                         ^
0_0_39198901_20203.cpp:165:9: error: expected unqualified-id before 'return'
  165 |         return 0;
      |         ^~~~~~
0_0_39198901_20203.cpp:166:1: error: expected declaration before '}' token
  166 | }
      | ^


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-22 12:10:34, Gzip enabled