| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 127182 | 葛锦东 | 打印直角三角形 | C++ | Compile Error | 0 MS | 0 KB | 192 | 2025-07-25 15:01:42 |
#include <bits/stdc++.h> using namespace std; int main() { for (int n = 1; n <= 5; j++) { for (int i = 1; i <= n; n++) { cout << "*"; } cout << endl; } return 0; }
Main.cc: In function 'int main()':
Main.cc:4:26: error: 'j' was not declared in this scope
for (int n = 1; n <= 5; j++) {
^