Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67452 张之隽 02长方形的面积 C++ Compile Error 0 MS 0 KB 132 2024-03-16 15:42:39

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a,b cin>>a=10; cin>>b=15; cout<<a*b<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:2: error: expected initializer before 'cin'
  cin>>a=10;
  ^
Main.cc:6:7: error: 'b' was not declared in this scope
  cin>>b=15;
       ^