当前位置:网站首页>7-9 find a small ball with a balance
7-9 find a small ball with a balance
2022-07-03 14:09:00 【ᯤ⁹ᴳ⁺ ·】
7-9 Find the ball with a balance (10 branch )
Three balls A、B、C, The size and shape are the same, and one of the balls has a different weight from the other balls . Ask to find this different ball .
Input format :
Enter... On one line 3 A positive integer , The order corresponds to the ball A、B、C Weight of .
Output format :
Output the only different ball in one line .
sample input :
1 1 2
sample output :
C#include<stdio.h>
int main(){
int A,B,C;
scanf("%d %d %d",&A,&B,&C);
if(A==B){
printf("C");
}else if(A==C){
printf("B");
}else{
printf("A");
}
return 0;
}
边栏推荐
- JS new challenges
- Qt学习20 Qt 中的标准对话框(中)
- MySQL 数据处理值增删改
- 28: Chapter 3: develop Passport Service: 11: define attributes in the configuration file, and then obtain them in the code;
- JS Part 2
- Similarities and differences of sessionstorage, localstorage and cookies
- Metal organic framework MOFs loaded with non steroidal anti-inflammatory drugs | zif-8 wrapped Prussian blue loaded quercetin (preparation method)
- 如何使用lxml判断网站公告是否更新
- C language standard IO function sorting
- FPGA test method takes mentor tool as an example
猜你喜欢

QT learning 19 standard dialog box in QT (top)

Print. JS -- web page file printing

Uniapp tips - scrolling components

Page generation QR code

好看、好用、强大的手写笔记软件综合评测:Notability、GoodNotes、MarginNote、随手写、Notes Writers、CollaNote、CollaNote、Prodrafts、Noteshelf、FlowUs、OneNote、苹果备忘录

JS Part III

Go language web development series 28: solve cross domain access of CORS with gin contrib / CORS
[email protected])"/>金属有机骨架(MOFs)抗肿瘤药载体|PCN-223装载甲硝唑|UiO-66包载盐酸环丙沙星([email protected])

JS Part 2

Go: send the get request and parse the return JSON (go1.16.4)
随机推荐
Solve the problem of dormitory router campus network sharing login
Uio-66-cooh loaded bendamostine | hydroxyapatite (HA) coated MIL-53 (FE) nanoparticles | baicalin loaded manganese based metal organic skeleton material
可编程逻辑器件软件测试
Qt学习20 Qt 中的标准对话框(中)
How to bold text in AI
Page generation QR code
Redis: operation command of string type data
How to use lxml to judge whether the website announcement is updated
金属有机骨架材料ZIF-8包载姜黄素([email protected]纳米颗粒)|纳米金属有机框架搭载雷帕霉素|科研试剂
金属有机骨架(MOFs)抗肿瘤药载体|PCN-223装载甲硝唑|UiO-66包载盐酸环丙沙星([email protected])
Print. JS -- web page file printing
GoLand 2021.1.1: configure the multi line display of the tab of the open file
page owner特性浅析
Interface for querying IP home
Go language web development series 27: Gin framework: using gin swagger to implement interface documents
Folic acid modified metal organic framework (zif-8) baicalin loaded metal organic framework composite magnetic material (AU- [email
JS download files through URL links
Go language web development series 25: Gin framework: using MD5 to verify the signature for the interface station
QT learning 23 layout manager (II)
Metal organic framework MOFs loaded with non steroidal anti-inflammatory drugs | zif-8 wrapped Prussian blue loaded quercetin (preparation method)