Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
84993 王珠潏 14报数拿糖 C++ Time Limit Exceeded 1000 MS 252 KB 312 2024-07-16 16:05:23

Tests(0/1):


Code:

#include<iostream> using namespace std; int main(){ int a=1,an=1; bool flag=false; while(a<=100){ flag=true; if(an%3==0 && a<=10){ a=a+1; flag=true; cout<<a; continue; } } return 0; }