Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
102377 | 牟承浩 | 05求长方形的周长和面积 | C++ | Compile Error | 0 MS | 0 KB | 160 | 2024-12-21 15:29:05 |
#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; return 0;
Main.cc: In function 'int main()': Main.cc:10:10: error: expected '}' at end of input return 0; ^