Run ID | Author | Problem | Lang | Verdict | Score | Time | Memory | Code Length | Submit Time |
---|---|---|---|---|---|---|---|---|---|
5924 | D班-罗炜翰 | 猜年龄 | C++ | Wrong Answer | 0 | 0 MS | 252 KB | 289 | 2025-02-16 16:38:27 |
#include<bits/stdc++.h> using namespace std; int main() { int a,b; for (int i = 1;i <= 50;i++) { for (int j = 1;j <= 50;j++) { if (i * j == (i + j) * 6) { if (i<j) { cout<<i; } else if (j<i) { cout<<j; } } } } }