HDU1090:A+B for Input-Output Practice (II)

标签: ACM HDU
2人阅读 评论(0) 收藏 举报
分类:

/*
类似HDU1000,多了输入数据的组数。
*/

#include <stdio.h>

int main()
{
	int N;
	int a, b;
	int i;

	scanf("%d", &N);
	for (i = 0; i < N; i++)
	{
		scanf("%d%d", &a, &b);
		printf("%d\n", a + b);
	}
	//system("pause");
	return 0;
}

查看评论

「HD_ACM」 A+B for Input-Output Practice (II)

Problem Description Your task is to Calculate a + b. ->你的任务是计算A + B   Input I...
  • Simple_Bottle
  • Simple_Bottle
  • 2015-05-01 22:41:45
  • 1704

【杭电oj】1090 - A+B for Input-Output Practice (II)

A+B for Input-Output Practice (II) Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32...
  • Bear1998
  • Bear1998
  • 2016-01-13 20:42:09
  • 893

「HD_ACM」A+B for Input-Output Practice (VII)

Problem Description Your task is to Calculate a + b. ->你的任务是计算A + B   Input T...
  • Simple_Bottle
  • Simple_Bottle
  • 2015-05-02 21:59:50
  • 1838

hduoj1090,A+B for Input-Output Practice (II)

A+B for Input-Output Practice (II) Problem Description Your task is to Calculate a + b.   Input ...
  • Stand_over_sun
  • Stand_over_sun
  • 2012-10-14 16:41:54
  • 426

杭电OJ A+B for Input-Output Practice (II)

A+B for Input-Output Practice (II)   Time Limit: 2000/1000 MS (Java/Others) Memory Limit...
  • RengarLee
  • RengarLee
  • 2016-06-13 15:07:58
  • 174

HDU-1090-A+B for Input-Output Practice (II)(骗访问量的)

A+B for Input-Output Practice (II) Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32...
  • qq_16542775
  • qq_16542775
  • 2015-07-15 13:56:17
  • 760

HDU A+B for Input-Output Practice (II)

#include using namespace std; int main() { int N; cin>>N; int a,b; while(N--) { cin>>a...
  • u012102997
  • u012102997
  • 2014-09-05 21:57:19
  • 220

Hdoj 1090 A+B for Input-Output Practice (II)

Hdoj 1090 A+B for Input-Output Practice (II)
  • Sentiment_logos
  • Sentiment_logos
  • 2017-12-14 23:53:57
  • 28

HDOJ1393 Weird Clock

需要读懂题意,一个时钟,只有分针,现在他正指向一个位置n,有一种硬币m,投入一次就可以使时钟顺时针转n*m分钟。 然后n的是变了(0--59)的,再继续投入这样的硬币,一直到n指向0,或者判断到他不肯...
  • qq_38238041
  • qq_38238041
  • 2017-12-08 15:41:41
  • 38

杭电oj(java版)——1090 A+B for Input-Output Practice (II)

A+B for Input-Output Practice (II) Time Limit: 2000/1000 MS (Java/Others)    Memory Limit: 65536/32...
  • agony_sun
  • agony_sun
  • 2017-04-11 21:10:42
  • 296
    个人资料
    等级:
    访问量: 1万+
    积分: 374
    排名: 20万+
    文章存档
    最新评论