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_37886072_20386.cpp:12:22: error: expected unqualified-id before '<' token
 #define TPP template <typename t1, typename t2>
                      ^
0_0_37886072_20386.cpp:50:8: note: in expansion of macro 'TPP'
 inline TPP void ad(t1& x, t2 y) { (x += y) >= mod && (x -= mod); }
        ^
0_0_37886072_20386.cpp:51:1: error: expected ';' before 'inline'
 inline TPP void dl(t1& x, t2 y) { (x -= y) < 0 && (x += mod); }
 ^
0_0_37886072_20386.cpp: In function 'int insert(char*, int)':
0_0_37886072_20386.cpp:72:18: error: 'ad' was not declared in this scope
     ad(ed[p], val);
                  ^
0_0_37886072_20386.cpp: In function 'void bfs()':
0_0_37886072_20386.cpp:90:56: error: 'ad' was not declared in this scope
                         rep(i, 0, 5) ad(s[i], sum[y][i]);
                                                        ^
0_0_37886072_20386.cpp:95:45: error: 'ad' was not declared in this scope
                 fail[x] = y; ad(ed[x], ed[y]);
                                             ^
0_0_37886072_20386.cpp:98:46: error: 'dl' was not declared in this scope
                 rep(i, 0, 5) dl(s[i], w[p][i]); 
                                              ^


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.001000(s) query 1, Server time : 2025-02-17 04:29:29, Gzip enabled