Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
312416 测试 【C3-4】打印相框 Python3 编译错误 0 0 MS 0 KB 234 2025-03-14 18:11:27

Tests(0/0):


#include <bits/stdc++.h> using namespace std; int main() { int n; cin >> n; for(int i = 1;i <= n+2;i++) { if(i=1 && i=n+2) { cout << n*"*"; } else { cout << "*"+(n-2)*" "+"*"; } } return 0; }


测评信息:

File "Main.py", line 2
using namespace std;
^
SyntaxError: invalid syntax