Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
95984 只因你太美(Ikun 真爱粉) 狐狸吃兔子 C++ Accepted 1 MS 268 KB 466 2024-11-02 16:52:02

Tests(1/1):


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; bool a[11]; int main(){ int q=0,p=0,f=0; for(int i=0;i<1000;i++){ q+=i;q%=10; a[q]=1; } for(int i=0;i<10;i++){ if(a[i]==0)cout<<i<<" "; } cout<<endl; return 0; }