Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
111669 周宸宇 09能否赴约 C++ Wrong Answer 1 MS 276 KB 446 2025-03-03 19:23:26

Tests(0/10):


Code:

#include<iostream> // cin\cout\endl #include<cstdio> //scanf()\printf() #include<cstring> // strcpy()\strcat()\strcmp()\strlen()\memset() #include<cmath> //sqrt()\pow()\abs()\ceil()\floor()\max()\min() using namespace std; int main(){ int a,b; cin>>a; b=a%7; switch(b){ case 1:cout<<"NO";break; case 3:cout<<"NO";break; case 5:cout<<"NO";break; default:cout<<"TES"; } return 0; }


Run Info:

------Input------
4
------Answer-----
YES
------Your output-----
TES