Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
130489 鄢晨曦 06输出菱形 C++ Compile Error 0 MS 0 KB 206 2025-09-13 16:47:55

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int /; cin>>/; cout<<" \\"<<endl<<" \\\\\\"<<endl<<"\\\\\\\\\\"<<endl<<" \\\\\\"<<endl<<" \\"; } return 0;


Run Info:

Main.cc: In function 'int main()':
Main.cc:4:6: error: expected unqualified-id before '/' token
  int /;
      ^
Main.cc:5:7: error: expected primary-expression before '/' token
  cin>>/;
       ^
Main.cc:5:8: error: expected primary-expression before ';' token
  cin>>/;
        ^
Main.cc: At global scope:
Main.cc:13:2: error: expected unqualified-id before 'return'
  return 0;
  ^