/ Vijos /

记录详情

Compile Error

/in/foo.c: In function 'GetCpuID':
/in/foo.c:24:10: error: expected '(' before '{' token
     __asm{
          ^
/in/foo.c:25:4: error: unknown type name 'mov'
    mov eax, 0
    ^~~
/in/foo.c:25:13: error: expected identifier or '(' before numeric constant
    mov eax, 0
             ^
/in/foo.c:25:8: warning: unused variable 'eax' [-Wunused-variable]
    mov eax, 0
        ^~~
/in/foo.c:41:5: warning: 'main' is normally a non-static function [-Wmain]
 int main()
     ^~~~
/in/foo.c:45:1: error: expected declaration or statement at end of input
 }
 ^
At top level:
/in/foo.c:41:5: warning: 'main' defined but not used [-Wunused-function]
 int main()
     ^~~~

信息

递交者
类型
递交
题目
P1000 A+B Problem
语言
C
递交时间
2018-03-20 17:00:04
评测时间
2018-03-20 17:00:04
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes