记录详情

Compile Error

foo.cc: In function ‘std::string toP(int, int)’:
foo.cc:30:9: error: ‘reverse’ was not declared in this scope
   30 |         reverse(res.begin(), res.end());
      |         ^~~~~~~
foo.cc: In function ‘std::string modP(std::string&, std::string&, int)’:
foo.cc:41:27: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::__cxx11::basic_string<char>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare]
   41 |         for (int i = 0; i < d.size(); i++)
      |                         ~~^~~~~~~~~~

信息

递交者
类型
递交
题目
P1564 Problem 1B. p进制数1
比赛
2024春 悬赏令第一周
语言
C++
递交时间
2024-04-16 12:26:15
评测时间
2024-04-16 12:26:15
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes