| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 139592 | 田紫萱 | 属相 | C++ | Wrong Answer | 0 MS | 264 KB | 425 | 2025-12-08 16:22:38 |
#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(){ double Sn; int n,k,x; cin>>n; k=n%5; if(k==1||2||3||4){ x=k; } if(k==5){ x=0; } cout<<x; return 0; }
------Input------
5 2
------Answer-----
Mouse
------Your output-----
0