Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
100819 黎瑾萱 神秘数字 C++ Accepted 1 MS 272 KB 152 2024-12-14 10:39:33

Tests(10/10):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int a; cin>>a; a=a+1; while(!(a%3==2 && a%5==3 && a%7==2)){ a++; } cout<<a; }