Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
76670 sh25_zhuhy 判断能否被3,5,7整除 C++ 通过 0 MS 248 KB 321 2025-12-19 15:43:42

Tests(1/1):


#include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if(a%3==0) { cout<<3; cout<<" "; } if(a%5==0) { cout<<5; cout<<" "; } if(a%7==0) { cout<<7; cout<<" "; } if(a%3!=0||a%5!=0||a%7!=0) cout<<"n"; }


测评信息: