Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
110625 周子潇 能否被3和5整除 C++ Accepted 1 MS 268 KB 275 2025-02-22 16:16:16

Tests(1/1):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() using namespace std; int main(){ int n; cin>>n; if(n%3==0||n%5==0) { cout<<"can"; } else { cout<<"cannot"; } return 0; }