Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151289 李折曦 输出九九乘法表 C++ Compile Error 0 MS 0 KB 276 2026-04-11 15:04:40

Tests(0/0):


Code:

#include <bits/stdc++.h> using namespace std; int main (){ for(int i=1;i<=9;i++){ for(int j=1;j<=i;ju++){ if(i*j>=10) cout<<j<<"*"<<i<<"="<<i*j<<" "; else{ cout<<j<<"*"<<i<<"="<<i*j<<" "; } } cout<<endl; return 0; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:20: error: 'ju' was not declared in this scope
   for(int j=1;j<=i;ju++){
                    ^