Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
65141 万诗烨 05求长方形的周长和面积 C++ Compile Error 0 MS 0 KB 116 2024-01-24 10:42:44

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>g=(n+m)*2; cout<<s=n*m; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:7: error: 'g' was not declared in this scope
  cin>>g=(n+m)*2;
       ^
Main.cc:5:10: error: 'n' was not declared in this scope
  cin>>g=(n+m)*2;
          ^
Main.cc:5:12: error: 'm' was not declared in this scope
  cin>>g=(n+m)*2;
            ^
Main.cc:6:8: error: 's' was not declared in this scope
  cout<