当前位置:网站首页>【码蹄集新手村600题】不通过字符数组来合并俩个数字
【码蹄集新手村600题】不通过字符数组来合并俩个数字
2022-07-31 16:46:00 【Sandm *】
题目链接:
解题思路:

参考代码:
#include<bits/stdc++.h>
using namespace std;
int main( )
{
int data1 = 0,data2 = 0;
cin >> data1;
cin >> data2;
int end = (data2%10)*1000+(data1/10)*100+(data2/10)*10+data1%10;
cout << end;
return 0;
}边栏推荐
- 【7.29】Code Source - 【Arrangement】【Stone Game II】【Cow and Snacks】【Minimum Number of Spawns】【Sequence】
- Flink_CDC搭建及简单使用
- Go1.18升级功能 - 模糊测试Fuzz 从零开始Go语言
- 研发过程中的文档管理与工具
- adb shell error error: device unauthorized
- MySQL multi-table union query
- 【luogu P8326】Fliper(图论)(构造)(欧拉回路)
- Handling write conflicts under multi-master replication (3) - Convergence to a consistent state and custom conflict resolution logic
- Anaconda如何顺利安装CV2
- [TypeScript] OOP
猜你喜欢

A common method and the use of selenium

Go1.18升级功能 - 模糊测试Fuzz 从零开始Go语言

【C语言】LeetCode27.移除元素

Golang go-redis cluster模式下不断创建新连接,效率下降问题解决

最新神作!阿里巴巴刚出炉的面试参考指南(泰山版),我直接狂刷29天

Implementing DDD based on ABP

TestCafe之如何进行调试

Three aspects of Ali: How to solve the problem of MQ message loss, duplication and backlog?

Kotlin协程:续体、续体拦截器、调度器
![[pytorch] pytorch automatic derivation, Tensor and Autograd](/img/99/c9632a7d3f70a13e1e26b9aa67b8b9.png)
[pytorch] pytorch automatic derivation, Tensor and Autograd
随机推荐
GateWay实现负载均衡
Baidu cloud web speed playback (is there any website available)
【愚公系列】2022年07月 Go教学课程 020-Go容器之数组
Single-cell sequencing workflow (single-cell RNA sequencing)
[pytorch] 1.7 pytorch and numpy, tensor and array conversion
最后写入胜利(丢弃并发写入)
SHELL内外置命令
百度网盘网页版加速播放(有可用的网站吗)
i.MX6ULL驱动开发 | 33 - NXP原厂网络设备驱动浅读(LAN8720 PHY)
[Source code analysis] BeanFactory and FactoryBean
js的toString方法
T - sne + data visualization parts of the network parameters
Last write wins (discards concurrent writes)
go mode tidy出现报错go warning “all“ matched no packages
2022年必读的12本机器学习书籍推荐
C程序是如何跑起来的01 —— 普通可执行文件的构成
牛客 HJ16 购物单
EF Core 2.2中将ORM框架生成的SQL语句输出到控制台
【luogu P8326】Fliper(图论)(构造)(欧拉回路)
LevelSequence源码分析