Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
25037 叶凯强 算式问题 C++ Accepted 3 MS 704 KB 352 2022-04-21 14:52:04

Tests(1/1):


Code:

#include<iostream> using namespace std; int main(){ int a, b, c, d, e; for(int a = 10; a < 13; a++){ c = 8 * a; d = 9 * a + 1; e = 9 * a; b = 100 * c + d; if(b>=1000 && b <=9999 && c<100 && e>=100 && e<1000) cout << a << endl << b << endl << c << endl << d << endl << e << endl; } return 0; }