Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
117401 王宇宸 06变换四位数 C++ Wrong Answer 1 MS 264 KB 494 2025-04-18 21:19:54

Tests(0/10):


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; cin >> n; int ge = n % 10; int shi = n / 10 % 10; int bai = n / 100 % 10; int qian = n / 1000 % 10; int m; m = bai * 10 + qian / 10 + ge * 10 + shi / 10; cout << m << " "; return 0; }


Run Info:

------Input------
8051
------Answer-----
815
------Your output-----
10