Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
153103 李一凡 02武王伐纣II C++ Compile Error 0 MS 0 KB 140 2026-05-10 10:11:36

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { cin a,b; cout<<"纣王军队有"<<a*b<<"人"<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:9: error: expected ';' before 'a'
     cin a,b;
         ^
Main.cc:5:12: warning: statement has no effect [-Wunused-value]
     cin a,b;
            ^
Main.cc:6:30: error: 'a' was not declared in this scope
     cout<<"纣王军队有"<