Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
141234 邓弘锐 01梯形的面积 C++ Compile Error 0 MS 0 KB 167 2025-12-21 15:22:53

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ int a=10; int b=20; int c=8; cout<<a<<endl; cout<<b<<endl; cout<<c<<endl; cout<<(a+b)*ca<<endl; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:10:14: error: 'ca' was not declared in this scope
  cout<<(a+b)*ca<