| Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|---|
| 126668 | 11 | 九九乘法表2 | C++ | Accepted | 100 | 0 MS | 236 KB | 456 | 2024-01-24 16:53:24 |
#include <iostream> #include <cstdio> #include <iomanip> using namespace std; int main() { for (long long i = 1; i <= 9; i++) { for (long long j = 1; j <= i; j++) { long long ans = i*j; cout << j << "*" << i << "=" << ans; if (ans < 10) { cout << " "; } else { cout << " "; } } cout << endl; } return 0; }