Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102376 | 王明哲 | 05求长方形的周长和面积 | C++ | Compile Error | 0 MS | 0 KB | 174 | 2024-12-21 15:27:50 |
#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; int c,s;c = 2*(n+m); s = n*m; cout<<c<<" "<<s<<endl; ruturn 0: }
Main.cc: In function 'int main()': Main.cc:9:5: error: 'ruturn' was not declared in this scope ruturn 0: ^