当前位置:网站首页>2064: [example 2.1] exchange value
2064: [example 2.1] exchange value
2022-06-12 13:23:00 【Xiao Liu wants to be number one】
2064:【 example 2.1】 Exchange value
The time limit : 1000 ms Memory limit : 65536 KB
Submission number : 37130 Passing number : 20585
【 Title Description 】
Enter two positive integers a and b, Trial exchange a、b Value ( send a The value is equal to the b,b The value is equal to the a).
【 Input 】
Enter two positive integers a and b.
【 Output 】
Output a And b The result of exchanging values .
【 sample input 】
2 3【 sample output 】
3 2#include<iostream>
using namespace std;
int main()
{
int a, b, t;
cin >> a >> b;
t = a;
a = b;
b = t;
cout << a <<" "<< b;
return 0;
}边栏推荐
- leetcode 47. Permutations II full permutations II (medium)
- VGA display color bar and picture (FPGA)
- Title: Yanghui triangle
- 章鱼网络进展月报 | 2022.5.1-5.31
- Successfully rated Tencent t3-2, 10000 word parsing
- Hudi key generation
- 嵌入式驱动程序设计
- STM32F1与STM32CubeIDE编程实例-设备驱动-EEPROM-AT24C256驱动
- 苹果电脑上MySQL安装完成找不到怎么办
- leetcode 47. Permutations II full permutations II (medium)
猜你喜欢

How to adapt the page size when iframe is embedded in a web page

嵌入式系统概述1-嵌入式系统定义、特点和发展历程

Source of routing information

Wechat web developer tools tutorial, web development issues

Hardware composition of embedded system - introduction of embedded development board based on ARM

It is enough to read this article. Web Chinese development

import torch_ Data view of geometric

Semantic segmentation with pytorch

创新实训(十)高级界面美化

Vant tab bar + pull-up loading + pull-down refresh demo van tabs + van pull refresh + van list demo
随机推荐
C语言【23道】经典面试题【下】
Pytorch framework
Overview of embedded system 2- composition and application of embedded system
Symbolic constant, const qualifier
位图、布隆过滤器和哈希切分
It is enough to read this article. Web Chinese development
[database] Navicat -- Oracle database creation
看完这一篇就够了,web中文开发
What if the MySQL installation on the apple computer is completed and cannot be found
imagemagick:a gentle introduction to magick++
Embedded system hardware composition - embedded system hardware architecture
Experience and learning path of introductory deep learning and machine learning
Software construction 03 regular expression
【VIM】. Vimrc configuration, vundle and youcompleteme have been installed
安装MySQL时出错,照着下面这个链接,做到cmd就不行了
Deploy opengauss database based on Huawei cloud Kunpeng elastic ECS [Gauss is not a mathematician this time]
Openstack network
442 authors, 100 pages! It took Google 2 years to release the new benchmark big bench | open source
Pytorch官方Faster R-CNN源代码解析(一)——特征提取
Structure matérielle du système embarqué - introduction du Conseil de développement embarqué basé sur arm