当前位置:网站首页>[Code Hoof Set Novice Village 600 Questions] Merge two numbers without passing a character array
[Code Hoof Set Novice Village 600 Questions] Merge two numbers without passing a character array
2022-07-31 20:40:00 【Sandm*】
Title link:
Things to solve the problem:
Reference code:
#includeusing 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;}
边栏推荐
- linux view redis version command (linux view mysql version number)
- The old music player WinAmp released version 5.9 RC1: migrated to VS 2019, completely rebuilt, compatible with Win11
- Shell 脚本 快速入门到实战 -02
- 【AcWing】第 62 场周赛 【2022.07.30】
- MySQL---operator
- 利用反射实现一个管理对象信息的简单框架
- 嵌入式开发没有激情了,正常吗?
- Three.js入门
- JD.com searches for products by keyword API
- Redis综述篇:与面试官彻夜长谈Redis缓存、持久化、淘汰机制、哨兵、集群底层原理!...
猜你喜欢
随机推荐
Count characters in UTF-8 string function
MySQL - single function
移动web开发02
Teach you how to deploy Nestjs projects
GAC Honda Safety Experience Camp: "Danger" is the best teacher
Redis Overview: Talk to the interviewer all night long about Redis caching, persistence, elimination mechanism, sentinel, and the underlying principles of clusters!...
Memblaze发布首款基于长存颗粒的企业级SSD,背后有何新价值?
One thing to say, is outsourcing company worth it?
Taobao/Tmall get Taobao password real url API
关注!海泰方圆加入《个人信息保护自律公约》
Book of the Month (202207): The Definitive Guide to Swift Programming
rj45 to the connector Gigabit (Fast Ethernet interface definition)
学生管理系统第一天:完成登录退出操作逻辑 PyQt5 + MySQL5.8
AI automatic code writing plugin Copilot (co-pilot)
Introduction to Audio Types and Encoding Formats in Unity
全平台GPU通用AI视频补帧超分教程
leetcode 665. Non-decreasing Array 非递减数列(中等)
BM3 将链表中的节点每k个一组翻转
给定一个ip地址,子网掩码怎么算网络号(如何获取ip地址和子网掩码)
Get Douyin Video Details API