运行 ID 作者 题号 测评结果 分数 时间 内存 语言 代码长度 提交时间
644079 Y1614824396_fdsf 1019 - 计算数的和 编译错误 0 0 MS 0 KB C++ 169 14天前
暂时无法获取本题测试点详情。

Main.cc: In function 'int main()':
Main.cc:5:11: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
5 | while(cin>>x){
| ^~~
| std::cin
In file included from Main.cc:1:
/usr/include/c++/12.2.1/iostream:60:18: note: 'std::cin' declared here
60 | extern istream cin; /// Linked to standard input
| ^~~
Main.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
9 | cout sum;
| ^~~~
| std::cout
/usr/include/c++/12.2.1/iostream:61:18: note: 'std::cout' declared here
61 | extern ostream cout; /// Linked to standard output
| ^~~~