Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
110391 | 李秉卿 | 算式问题 | C++ | Wrong Answer | 0 MS | 272 KB | 534 | 2025-02-18 18:49:11 |
#include <iostream> #include <string> int main(){ //假设从图片文字中提取的数字(根据问题描述和可识别部分) std::string twoDigitNumber="09"; //两位数 std::string fourDigitNumber="11121"; //四位数 std::string anotherTwoDigitNumber="XX"; std::string threeDigitNumber1="XXX"; std::string threeDigitNumber2="YYY"; std::cout<<"两位数"<<twoDigitNumber<<std::endl; std::cout<<"四位数"<<fourDigitNumber<<std::endl; return 0; }
------Input------
#include void fun() { int a,b,c,d; for(a = 10;a < 100;a++){ b = a*8; c = a*9; d = b*100 + c + 1; if(b>=10 && b<100 && c>=100 && c < 1000 && d>=1000 && d<10000) { printf("%d\n",a); printf("%d\n",d); printf("%d\n",b); printf("%d\n",c+1); printf("%d\n",c); return; } } } void main() { fun(); }
------Answer-----
12 9709 96 109 108
------Your output-----
两位数09 四位数11121