记录详情

Compile Error

foo.cc: In function ‘int TD(std::string, int)’:
foo.cc:9:10: error: ‘ling’ was not declared in this scope; did you mean ‘long’?
    9 |     for (ling long i = 0; i < num.size(); i++)
      |          ^~~~
      |          long
foo.cc:9:27: error: ‘i’ was not declared in this scope
    9 |     for (ling long i = 0; i < num.size(); i++)
      |                           ^

信息

递交者
类型
自测
题目
P1564 Problem 1B. p进制数1
语言
C++
递交时间
2024-04-16 18:47:28
评测时间
2024-04-16 18:47:28
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes