Run ID | 作者 | 问题 | 语言 | 测评结果 | 分数 | 时间 | 内存 | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|---|
350028 | 丁虞轩 | 【C5-2】甲乙的年龄 | C++ | 解答错误 | 0 | 2 MS | 240 KB | 240 | 2025-09-19 20:28:39 |
#include<iostream> using namespace std; int s=0,c=0; int so1(){ for(int i=10;i<=99;i++){ for(int j=1;j<=i;j++){ if(i/10+i%10==13&&i%j!=0)s+=i; } } return s; } int main(){ cout<<(s+13)/2<<" "<<(s-13)/2; return 0; }