Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
126313 唐洪盛 06输出菱形 C++ Compile Error 0 MS 0 KB 155 2025-07-17 16:35:50

Tests(0/0):


Code:

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


Run Info:

Main.cc:4:4: error: stray '\' in program
    cout<<\;  
    ^
Main.cc:5:3: error: stray '\' in program
   cout<<\\\;
   ^
Main.cc:5:3: error: stray '\' in program
Main.cc:5:3: error: stray '\' in program
Main.cc:6:2: error: stray '\' in program
  cout<<\\\\\;
  ^
Main.cc:6:2: error: stray '\' in program
Main.cc:6:2: error: stray '\' in program
Main.cc:6:2: error: stray '\' in program
Main.cc:6:2: error: stray '\' in program
Main.cc:7:3: error: stray '\' in program
   cout<<\\\;
   ^
Main.cc:7:3: error: stray '\' in program
Main.cc:7:3: error: stray '\' in program
Main.cc:8:4: error: stray '\' in program
    cout<<\;
    ^
Main.cc: In function 'int main()':
Main.cc:4:11: error: expected primary-expression before ';' token
    cout<<\;  
           ^
Main.cc:5:12: error: expected primary-expression before ';' token
   cout<<\\\;
            ^
Main.cc:6:13: error: expected primary-expression before ';' token
  cout<<\\\\\;
             ^
Main.cc:7:12: error: expected primary-expression before ';' token
   cout<<\\\;
            ^
Main.cc:8:11: error: expected primary-expression before ';' token
    cout<<\;
           ^