| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133644 | 毛君浩 | 05求长方形的周长和面积 | C++ | Compile Error | 0 MS | 0 KB | 125 | 2025-10-20 16:23:35 |
#include<bits/stdc++.h> using namespace std; int main{ int N,M; cin>>N>>M; cout<<(N+M)*2<<" "<<N*M; }
Main.cc:4:5: error: expected primary-expression before 'int'
int N,M;
^
Main.cc:4:5: error: expected '}' before 'int'
Main.cc:4:5: error: expected ',' or ';' before 'int'
Main.cc:5:5: error: 'cin' does not name a type
cin>>N>>M;
^
Main.cc:6:5: error: 'cout' does not name a type
cout<<(N+M)*2<<" "<