/ Vijos /

记录详情

Compile Error

/in/foo.c:1:1: error: unknown type name 'def'
    1 | def lcm_math(a, b):
      | ^~~
/in/foo.c: In function 'lcm_math':
/in/foo.c:1:19: error: expected declaration specifiers before ':' token
    1 | def lcm_math(a, b):
      |                   ^
/in/foo.c:6:3: error: invalid preprocessing directive #\U00006d4b\U00008bd5
    6 | # 测试
      |   ^~~~
/in/foo.c:1:5: warning: type of 'a' defaults to 'int' [-Wimplicit-int]
    1 | def lcm_math(a, b):
      |     ^~~~~~~~
/in/foo.c:1:5: warning: type of 'b' defaults to 'int' [-Wimplicit-int]
/in/foo.c:10: warning: control reaches end of non-void function [-Wreturn-type]

信息

递交者
类型
递交
题目
P1047 最小公倍数
语言
C
递交时间
2025-11-15 10:58:48
评测时间
2025-11-15 10:58:48
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes