Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
67032 李雨昊 04打印三角形 C++ Accepted 1 MS 260 KB 247 2024-03-12 21:00:44

Tests(1/1):


Code:

#include<iostream> #include<cstdio> #include<cstring> #include<cmath> using namespace std; int main() { int a; for (int j = 1;j<=5;j++){ for (int i = 1; i<=j ; i++){ cout <<"%"; } cout <<endl; } return 0; }