记录详情

Compile Error

foo.c: In function 'main':
foo.c:14:6: warning: unused variable 'i' [-Wunused-variable]
   14 |  int i;
      |      ^
foo.c:13:6: warning: unused variable 'j' [-Wunused-variable]
   13 |  int j;
      |      ^
foo.c: At top level:
foo.c:32:2: error: stray '#' in program
   32 | }#include <stdio.h>
      |  ^
foo.c:32:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   32 | }#include <stdio.h>
      |           ^
foo.c: In function 'main':
foo.c:5:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    5 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d", &m);
      |  ^~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1081 3-2 约瑟夫问题
语言
C
递交时间
2021-12-15 19:22:07
评测时间
2021-12-15 19:22:07
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes