http://www.spoj.com/RGB7/problems/RGB7001/
RGB7001 - 2 тооны нийлбэр
Өгөгдсөн бүхэл тооны нийлбэрийг ол.
Input
2 бүхэл тоо зайгаар тусгаарлагдан нэг мөрөнд өгөгдөнө.Output
2 тооны нийлбэр.Example
Input: 12 23 Output: 35
Бодолт:
#include<stdio.h> #include<stdlib.h> int main(){ printf("2 too oruulna uu ?"); int a,b,c; scanf("%d%d",&a,&b); c=a+b; printf("%d",c); system("pause"); return 0; }
Comments
Post a Comment