【入門1】順序結構 P1001 A+B Problem
【入門1】順序結構
![](https://img.laitimes.com/img/9ZDMuAjOiMmIsIjOiQnIsIyZuBnLwcTM3MDO0kTMyEjMxAjMwIzLc52YucWbp5GZzNmLn9Gbi1yZtl2Lc9CX6MHc0RHaiojIsJye.png)
AC代碼如下:
#include <bits/stdc++.h>
int main(){
int a,b,c;
scanf("%d%d",&a,&b);
c=a+b;
printf("%d\n",c);
return 0;
}
【入門1】順序結構 P1001 A+B Problem
【入門1】順序結構
AC代碼如下:
#include <bits/stdc++.h>
int main(){
int a,b,c;
scanf("%d%d",&a,&b);
c=a+b;
printf("%d\n",c);
return 0;
}