Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126843 林建彤 九九乘法表2 C++ 通过 100 0 MS 240 KB 273 2024-01-24 17:12:26

Tests(1/1):


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


测评信息: