Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
145592 张晓冉 能否被3和5整除 C++ Accepted 0 MS 268 KB 208 2026-01-25 16:49:06

Tests(1/1):


Code:

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