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_4869437_14296.cpp: In function `void dfs(int)':
0_0_4869437_14296.cpp:67: error: return-statement with a value, in function returning 'void'
0_0_4869437_14296.cpp:72: error: expected `)' before "return"
0_0_4869437_14296.cpp:72: error: could not convert `dfs(((+(((unsigned int)x) * 12u)) + ((std::vector<int, std::allocator<int> >*)(&g)))->std::vector<_Tp, _Alloc>::operator[] [with _Tp = int, _Alloc = std::allocator<int>](((unsigned int)i)))' to `bool'
0_0_4869437_14296.cpp:74: error: return-statement with a value, in function returning 'void'
0_0_4869437_14296.cpp: In function `void query(int)':
0_0_4869437_14296.cpp:107: error: could not convert `dfs((&name)->std::map<_Key, _Tp, _Compare, _Alloc>::operator[] [with _Key = std::string, _Tp = int, _Compare = std::less<std::string>, _Alloc = std::allocator<std::pair<const std::string, int> >](((const std::string&)(&string(((const char*)((char*)(&str1))), ((const std::allocator<char>&)((const std::allocator<char>*)(&allocator<char>()))))))))' to `bool'
0_0_4869437_14296.cpp:108: error: invalid conversion from `char' to `const char*'
0_0_4869437_14296.cpp:108: error:   initializing argument 1 of `std::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char, _Traits = std::char_traits<char>, _Alloc = std::allocator<char>]'


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 14:59:09, Gzip enabled