Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
152881 彭俊熙 06输出菱形 C++ Compile Error 0 MS 0 KB 177 2026-05-05 13:36:10

Tests(0/0):


Code:

#include<iostream>; using namespace std; int main(){ cout<<"\\"<<endl; cout<<"\\\\\\"endl; cout<<"\\\\\\\\\\"<<endl; cout<<"\\\\\\"<<endl; cout<<"\\"<<endl; return 0; }


Run Info:

Main.cc:1:19: warning: extra tokens at end of #include directive
 #include;
                   ^
Main.cc: In function 'int main()':
Main.cc:5:7: error: unable to find string literal operator 'operator""endl' with 'const char [4]', 'long unsigned int' arguments
 cout<<"\\\\\\"endl;
       ^