QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#36858 | #3230. Beautiful Now | GuanYunchang | Compile Error | / | / | C++ | 1.2kb | 2022-06-29 10:12:50 | 2022-06-29 10:12:52 |
Due to the privacy settings of the submitter, you are not allowed to view this code.
详细
answer.code: In function ‘void dfs()’: answer.code:54:44: error: could not convert ‘st.std::set<int>::find(tmp)’ from ‘std::set<int>::iterator’ {aka ‘std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::const_iterator’} to ‘bool’ 54 | if( st.find(tmp) ) continue ; | ~~~~~~~^~~~~ | | | std::set<int>::iterator {aka std::_Rb_tree<int, int, std::_Identity<int>, std::less<int>, std::allocator<int> >::const_iterator} answer.code: In function ‘int main()’: answer.code:68:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 68 | scanf( "%d" , &t ) ; | ~~~~~^~~~~~~~~~~~~ answer.code:71:22: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 71 | scanf( "%d%d" , &n , &k ) ; | ~~~~~^~~~~~~~~~~~~~~~~~~~