Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
69348 张恒杰 能否被3和5整除 C++ Accepted 0 MS 272 KB 194 2024-03-31 17:53:46

Tests(1/1):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n; int i; cin>>i; if(i%3==0&&i%5==0) { cout<<"can"<<endl; } else { cout<<"cannot"<<endl; } return 0; }