Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
106726 陈治宸 14判断素数III C++ Wrong Answer 1 MS 264 KB 381 2025-01-16 15:30:38

Tests(0/10):


Code:

#include<iostream> using namespace std; int main(){ int i; for(i=1;i<=100;i++) if(i%3==0) { if(i%10==0) { cout<<"10"<<endl; continue; } cout<<i%10<<endl; continue; } return 0; }


Run Info:

------Input------
991
------Answer-----
YES
------Your output-----
3 6 9 2 5 8 1 4 7 10 3 6 9 2 5 8 1 4 7 10 3 6 9 2 5 8 1 4 7 10 3 6 9