记录详情

Accepted

foo.c: In function 'main':
foo.c:27:6: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   27 |  if (cnt = n - 1)
      |      ^~~
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d%d", &n, &k);
      |  ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 256.0 KiB
#2 Accepted 2ms 256.0 KiB
#3 Accepted 26ms 256.0 KiB
#4 Accepted 116ms 256.0 KiB
#5 Accepted 85ms 376.0 KiB

信息

递交者
类型
递交
题目
3-2 约瑟夫问题
比赛
2021(四) 作业第四场:加速赛
语言
C
递交时间
2021-12-09 12:03:34
评测时间
2021-12-09 12:03:34
评测机
分数
100
总耗时
233ms
峰值内存
376.0 KiB