Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
98581 | 罗睿妍 | 02武王伐纣II | C++ | Compile Error | 0 MS | 0 KB | 150 | 2024-11-23 11:42:04 |
#include <iostream> using namespace std; int main() { intx,y; cin>>x>>y; cout<<"纣王军队:"<<x*y<<"人"<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:5:5: error: 'intx' was not declared in this scope intx,y; ^ Main.cc:5:10: error: 'y' was not declared in this scope intx,y; ^ Main.cc:6:10: error: 'x' was not declared in this scope cin>>x>>y; ^