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_21110975_22364.cpp:38:29: error: macro "REP" passed 3 arguments, but takes just 2
         REP(i, 0, str.size()) { //记录前缀子串的状态
                             ^
0_0_21110975_22364.cpp:57:26: error: macro "REP" passed 3 arguments, but takes just 2
             REP(i, 0, pos) { //搜问号左边的状态 存在mp2里
                          ^
0_0_21110975_22364.cpp:63:39: error: macro "REP" passed 3 arguments, but takes just 2
             REP(i, pos + 1, str.size()) { // 搜问号右边的情况  存在mp1里
                                       ^
0_0_21110975_22364.cpp:67:25: error: macro "REP" passed 3 arguments, but takes just 2
             REP(c, 0, 26) { // 问号遍历所有字母 问号后边的字串加上问号假设的字符
                         ^
0_0_21110975_22364.cpp: In function 'int main()':
0_0_21110975_22364.cpp:38:9: error: 'REP' was not declared in this scope
         REP(i, 0, str.size()) { //记录前缀子串的状态
         ^
0_0_21110975_22364.cpp:57:28: error: expected ';' before '{' token
             REP(i, 0, pos) { //搜问号左边的状态 存在mp2里
                            ^
0_0_21110975_22364.cpp:63:41: error: expected ';' before '{' token
             REP(i, pos + 1, str.size()) { // 搜问号右边的情况  存在mp1里
                                         ^
0_0_21110975_22364.cpp:67:27: error: expected ';' before '{' token
             REP(c, 0, 26) { // 问号遍历所有字母 问号后边的字串加上问号假设的字符
                           ^
0_0_21110975_22364.cpp:77:1: error: expected '}' at end of input
 }
 ^
0_0_21110975_22364.cpp:77:1: error: expected '}' at end of input
0_0_21110975_22364.cpp:77:1: error: expected '}' at end of input


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 11:02:10, Gzip enabled