记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:15: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'int' [-Wformat=]
   scanf("%d",x);
               ^
/in/foo.cc:15:13: error: could not convert 'q.std::set<_Key, _Compare, _Alloc>::find<int, std::less<int>, std::allocator<int> >((m - i))' from 'std::set<int>::iterator {aka std::_Rb_tree_const_iterator<int>}' to 'bool'
   if (q.find(m-i)){
       ~~~~~~^~~~~
/in/foo.cc:19:70: error: 'prinf' was not declared in this scope
  prinf("Goodbye, sunshine. The light that you give me will everglow.");
                                                                      ^

信息

递交者
类型
自测
题目
P1309 E. 蚂蚁竞走II
语言
C++
递交时间
2021-12-23 19:57:14
评测时间
2021-12-23 19:57:43
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes