Accepted

/in/foo.cc: In function 'll euler_phi(ll)':
/in/foo.cc:140:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
  140 |     for (auto& [p, cnt] : factors) {
      |                ^
/in/foo.cc: In function 'std::vector<long long int> get_distinct_prime_factors(ll)':
/in/foo.cc:151:16: warning: structured bindings only available with '-std=c++17' or '-std=gnu++17' [-Wc++17-extensions]
  151 |     for (auto& [p, cnt] : factors) {
      |                ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:238:31: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<Interval>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
  238 |         for (int j = start; j < stack.size(); ++j) {
      |                             ~~^~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 24ms 4.855 MiB
#2 Accepted 22ms 4.852 MiB
#3 Accepted 2ms 496.0 KiB
#4 Accepted 2ms 532.0 KiB
#5 Accepted 2ms 528.0 KiB
#6 Accepted 2ms 492.0 KiB
#7 Accepted 2ms 524.0 KiB
#8 Accepted 29ms 4.852 MiB
#9 Accepted 30ms 4.848 MiB
#10 Accepted 35ms 4.859 MiB
#11 Accepted 31ms 4.852 MiB
#12 Accepted 35ms 4.855 MiB
#13 Accepted 33ms 4.852 MiB
#14 Accepted 33ms 4.863 MiB
#15 Accepted 36ms 4.863 MiB
#16 Accepted 36ms 4.859 MiB
#17 Accepted 30ms 4.859 MiB
#18 Accepted 33ms 4.852 MiB
#19 Accepted 2ms 1.301 MiB
#20 Accepted 31ms 4.848 MiB

信息

递交者
类型
递交
题目
P2831 渊月螺旋
语言
C++
递交时间
2025-10-30 23:37:21
评测时间
2025-10-30 23:37:21
评测机
分数
100
总耗时
460ms
峰值内存
4.863 MiB