记录详情

Compile Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:5: error: 'cout' is not a member of 'std'
     std::cout << "请输入第一个数: ";
     ^~~
/in/foo.cc:8:5: error: 'cin' is not a member of 'std'
     std::cin >> num1;
     ^~~
/in/foo.cc:10:5: error: 'cout' is not a member of 'std'
     std::cout << "请输入第二个数: ";
     ^~~
/in/foo.cc:11:5: error: 'cin' is not a member of 'std'
     std::cin >> num2;
     ^~~
/in/foo.cc:13:5: error: 'cout' is not a member of 'std'
     std::cout << "请输入第三个数: ";
     ^~~
/in/foo.cc:14:5: error: 'cin' is not a member of 'std'
     std::cin >> num3;
     ^~~
/in/foo.cc:33:5: error: 'cout' is not a member of 'std'
     std::cout << num1 << num2 << num3 << std::endl;
     ^~~
/in/foo.cc:33:42: error: 'endl' is not a member of 'std'
     std::cout << num1 << num2 << num3 << std::endl;
                                          ^~~

信息

递交者
类型
递交
题目
A1-1 分支结构练习:三数排序
比赛
南师大(含泰州学院)2024年新生赛(第一场)
语言
C++
递交时间
2024-08-15 11:54:19
评测时间
2024-08-15 11:54:19
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes