Compile Error
/in/foo.cc: In function 'int cal(int, int)':
/in/foo.cc:5:5: error: expected '(' before '{' token
{
^
/in/foo.cc:6:9: error: 'mov' was not declared in this scope
mov eax,a;
^~~
/in/foo.cc:7:13: error: expected ';' before 'ebx'
mov ebx,b;
^~~
/in/foo.cc:8:9: error: 'add' was not declared in this scope
add eax,ebx;
^~~
/in/foo.cc:10:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
信息
- 递交者
- 类型
- 递交
- 题目
- P1187 汇编你好
- 比赛
- 2020年互联网创新创业科技节程序设计大赛
- 语言
- C++
- 递交时间
- 2020-12-09 15:58:15
- 评测时间
- 2020-12-09 15:58:15
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes