但是我写的就是wrong answer.I have a very simple problem for you.Given two integers A and B,your job is to calculate the Sum of A + B.InputThe first line of the input contains an integer T(1line;while((line--)&&cin>>A>>B){cout
来源:学生作业帮助网 编辑:作业帮 时间:2024/11/16 17:31:52
但是我写的就是wrong answer.I have a very simple problem for you.Given two integers A and B,your job is to calculate the Sum of A + B.InputThe first line of the input contains an integer T(1line;while((line--)&&cin>>A>>B){cout
但是我写的就是wrong answer.
I have a very simple problem for you.Given two integers A and B,your job is to calculate the Sum of A + B.
Input
The first line of the input contains an integer T(1line;
while((line--)&&cin>>A>>B)
{
cout
但是我写的就是wrong answer.I have a very simple problem for you.Given two integers A and B,your job is to calculate the Sum of A + B.InputThe first line of the input contains an integer T(1line;while((line--)&&cin>>A>>B){cout
#include
#include
using namespace std;
#define max 1010
int main()
{
int line,a[max]={0},b[max]={0},c[max]={0},l1,l2,l3,i,j=1,flag;
char A[max],B[max];
cin>>line;
while((line--)&&cin>>A>>B)
{
cout