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_17394086_28570.cpp:16:23: error: 'getHashval' declared as an 'inline' variable
 inline ULL getHashval(n, l) {
                       ^
0_0_17394086_28570.cpp:16:23: error: 'n' was not declared in this scope
0_0_17394086_28570.cpp:16:26: error: 'l' was not declared in this scope
 inline ULL getHashval(n, l) {
                          ^
0_0_17394086_28570.cpp:16:27: error: expression list treated as compound expression in initializer [-fpermissive]
 inline ULL getHashval(n, l) {
                           ^
0_0_17394086_28570.cpp:16:29: error: expected ',' or ';' before '{' token
 inline ULL getHashval(n, l) {
                             ^
0_0_17394086_28570.cpp: In function 'int main()':
0_0_17394086_28570.cpp:41:35: error: 'getHashval' cannot be used as a function
     hashset.insert(getHashval(j, l));
                                   ^
0_0_17394086_28570.cpp:47:42: error: 'getHashval' cannot be used as a function
     hashset.erase(getHashval(j - m * l, l));
                                          ^
0_0_17394086_28570.cpp:49:35: error: 'getHashval' cannot be used as a function
     hashset.insert(getHashval(j, l));
                                   ^


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-12-03 18:16:04, Gzip enabled