Run ID 作者 问题 语言 测评结果 分数 时间 内存 代码长度 提交时间
126548 黄本瀚 九九乘法表2 C++ 通过 100 0 MS 232 KB 412 2024-01-24 16:37:36

Tests(1/1):


#include <iostream> #include <cstdio> using namespace std; int main() { for (int i = 1; i <= 9; i++) { for (int j = 1; j <= i; j++) { int s = i*j; cout << j << "*" << i << "=" << s; if (s < 10) { cout << " "; } else { cout << " "; } } cout << endl; } return 0; }


测评信息: