/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'long long int sum(const long long int&)':
/in/foo.cc:51:18: warning: right operand of comma operator has no effect [-Wunused-value]
   51 |     for (i = 1, j; i <= tot; ++i)
      |                  ^
/in/foo.cc: In function 'int main()':
/in/foo.cc:69:106: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   69 |                     (dis[++tot] = z, Gmap[val[tot] = (LL) pow(2, i) * pow(3, j) * pow(5, k) * pow(7, l)] = tot);
# 状态 耗时 内存占用
#1 Accepted 23ms 9.406 MiB
#2 Accepted 23ms 9.406 MiB
#3 Accepted 25ms 9.406 MiB
#4 Accepted 24ms 9.398 MiB
#5 Accepted 25ms 9.395 MiB
#6 Accepted 26ms 9.398 MiB
#7 Accepted 28ms 9.406 MiB
#8 Accepted 27ms 9.402 MiB
#9 Accepted 39ms 9.398 MiB
#10 Accepted 43ms 9.406 MiB
#11 Accepted 30ms 9.406 MiB
#12 Accepted 30ms 9.398 MiB
#13 Accepted 38ms 9.406 MiB
#14 Accepted 42ms 9.406 MiB
#15 Accepted 44ms 9.398 MiB
#16 Accepted 43ms 9.406 MiB
#17 Accepted 39ms 9.398 MiB
#18 Accepted 38ms 9.406 MiB
#19 Accepted 38ms 9.41 MiB
#20 Accepted 38ms 9.406 MiB

信息

递交者
类型
递交
题目
P1847 A % B Problem
语言
C++
递交时间
2025-02-15 16:20:41
评测时间
2025-02-15 16:20:41
评测机
分数
100
总耗时
673ms
峰值内存
9.41 MiB