Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
5959 | D班-苏莉雯 | 猜年龄 | C++ | 解答错误 | 0 | 0 MS | 252 KB | 258 | 2025-02-16 17:39:15 |
#include<bits/stdc++.h> using namespace std; int main() { int n; for(int i=0;i<100;i++) { for(int j=0;j<100;j++) { if((i+j)*6==i*j&&i-j<=8) { if(i>j) { cout<<j; } else{ cout<<i; } } } } }