Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
151287 李折曦 输出九九乘法表 C++ Output Limit Exceeded 1 MS 264 KB 261 2026-04-11 15:03:20

Tests(0/1):


Code:

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