记录详情

Compile Error

/in/foo.c:1:1: warning: data definition has no type or storage class
    1 | n = int(input())
      | ^
/in/foo.c:1:1: warning: type defaults to 'int' in declaration of 'n' [-Wimplicit-int]
/in/foo.c:1:5: error: expected expression before 'int'
    1 | n = int(input())
      |     ^~~
/in/foo.c:4:22: error: stray '#' in program
    4 |     sum_factors = 0  # 初始化真因子和为0
      |                      ^
/in/foo.c:7:31: error: stray '#' in program
    7 |             sum_factors += i  # 累加真因子
      |                               ^

信息

递交者
类型
自测
语言
C
递交时间
2025-12-29 09:32:05
评测时间
2025-12-29 09:32:05
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes