Run ID 作者 问题 语言 测评结果 时间 内存 代码长度 提交时间
29566 lnx 判断能否被3、5、7整除 C++ 通过 0 MS 244 KB 237 2023-10-31 19:03:41

Tests(2/2):


#include <iostream> using namespace std; int main() { int n; cin >> n; if (n % 3 == 0 && n % 5 == 0 && n % 7 == 0) { cout << "Yes"; } else { cout << "No"; } return 0; }


测评信息: