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_38951359_6087.cpp: In function 'bool solve(char*, char*)':
0_0_38951359_6087.cpp:168:9: error: expected primary-expression before 'int'
  168 |         int qi = match(v, vNum, maxn, s+ps,s2);
      |         ^~~
0_0_38951359_6087.cpp:169:12: error: 'qi' was not declared in this scope; did you mean 'i'?
  169 |         if(qi==-1) return false;
      |            ^~
      |            i
0_0_38951359_6087.cpp:170:23: error: 'qi' was not declared in this scope; did you mean 'i'?
  170 |         if(flag==0 && qi!=0) return false;
      |                       ^~
      |                       i
0_0_38951359_6087.cpp:171:15: error: 'qi' was not declared in this scope; did you mean 'i'?
  171 |         ps += qi + len;
      |               ^~
      |               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-11-23 01:04:39, Gzip enabled