ALGO-123_蓝桥杯_算法训练_A+B problem
生活随笔
收集整理的這篇文章主要介紹了
ALGO-123_蓝桥杯_算法训练_A+B problem
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
問題描述Given two integers A and B, your task is to output their sum, A+B.
輸入格式The input contains of only one line, consisting of two integers A and B. (0 ≤ A,B ≤ 1 000)
輸出格式The output should contain only one number that is A+B.
樣例輸入
1 1
樣例輸出
2
?
AC代碼:
1 #include <stdio.h> 2 3 int main(void) 4 { 5 int a,b; 6 scanf("%d %d",&a,&b); 7 printf("%d",a+b); 8 return 0; 9 }?
轉載于:https://www.cnblogs.com/mind000761/p/8878052.html
總結
以上是生活随笔為你收集整理的ALGO-123_蓝桥杯_算法训练_A+B problem的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: HTTPS与HTTP的一些区别
- 下一篇: RPC调用和HTTP调用的区别你知道吗