Compile Error
foo.c:2:1: error: unknown type name ‘using’ 2 | using namespace std; | ^~~~~ foo.c:2:17: error: expected ‘=’, ‘,’, ‘;’, ‘asm’ or ‘__attribute__’ before ‘std’ 2 | using namespace std; | ^~~
代码
#include <stdio.h>
using namespace std;
int main()
{
int a,b;
scanf("%d%d", &a,&b);
printf("%d\n",a+b);
return 0;
}
信息
- 递交者
- 类型
- 自测
- 题目
- A+B Problem
- 语言
- C
- 递交时间
- 2025-04-05 22:01:34
- 评测时间
- 2025-04-05 22:01:34
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes