记录详情

Accepted

/in/foo.cc: In function 'll euler_phi(ll)':
/in/foo.cc:59:15: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
   59 |     for (auto [p, cnt] : factors) {
      |               ^
/in/foo.cc: In function 'void generate_divisors(const std::vector<std::pair<long long int, int> >&, int, ll, std::vector<long long int>&)':
/in/foo.cc:67:15: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<std::pair<long long int, int> >::size_type' {aka 'long unsigned int'} [-Wsign-compare]
   67 |     if (index == factors.size()) {
      |         ~~~~~~^~~~~~~~~~~~~~~~~
/in/foo.cc: In function 'int main()':
/in/foo.cc:193:22: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
  193 |                 auto [p, m_val] = st.top();
      |                      ^
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 1ms 476.0 KiB
#3 Accepted 2ms 544.0 KiB
#4 Accepted 2ms 516.0 KiB
#5 Accepted 2ms 392.0 KiB
#6 Accepted 2ms 496.0 KiB
#7 Accepted 2ms 480.0 KiB
#8 Accepted 2ms 548.0 KiB
#9 Accepted 2ms 524.0 KiB
#10 Accepted 2ms 508.0 KiB

信息

递交者
类型
递交
题目
P1011 渊月螺旋
语言
C++
递交时间
2025-10-06 19:18:00
评测时间
2025-10-07 15:55:34
评测机
分数
250
总耗时
22ms
峰值内存
548.0 KiB