Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99162 王仲炜 能否被3和5整除 C++ Accepted 1 MS 272 KB 254 2024-11-24 14:27:04

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int n; cin>>n; if(n%5!=0) { cout<<"cannot"; } if(n%3!=0) { cout<<"cannot"; } else { cout<<"can"; } return 0; }