Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
112691 冯瀚翔 12输出3的倍数 C++ Wrong Answer 1 MS 260 KB 345 2025-03-10 19:19:24

Tests(0/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; int main(){ int n; for(n=1;n<=100;n=n+3){ cout<<n<<endl; } return 0; }


Run Info:

------Input------
3 68
------Answer-----
3 6 9 12 15 18 21 24 27 30 33 36 39 42 45 48 51 54 57 60 63 66 69 72 75 78 81 84 87 90 93 96 99
------Your output-----
1 4 7 10 13 16 19 22 25 28 31 34 37 40 43 46 49 52 55 58 61 64 67 70 73 76 79 82 85 88 91 94 97 100