Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
103267 | 郑雨心 | 04打印三角形 | C++ | Compile Error | 0 MS | 0 KB | 190 | 2024-12-28 15:23:55 |
#include <iostream> using namespace std; int main() { cout<<"%"<<endl; cout<<"%%"<<endl; cout<<"%%%"endl; cout<<"%%%%"endl; cout<<"%%%%%"<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:7:11: error: unable to find string literal operator 'operator""endl' with 'const char [4]', 'long unsigned int' arguments cout<<"%%%"endl; ^ Main.cc:8:11: error: unable to find string literal operator 'operator""endl' with 'const char [5]', 'long unsigned int' arguments cout<<"%%%%"endl; ^