码迷,mamicode.com
首页 >  
搜索关键字:output    ( 11375个结果
send和sendto的区别
ttp://www.beej.us/guide/bgnet/output/html/multipage/sendman.html send()用于TCP SOCK_STREAM,sendto()用于UDP SOCK_DGRAM, send支持flags: MSG_OOB:send as "Out of Band" data.该数据包优先,可以先接受到,对端会收到SIGURG信号 MS...
分类:其他好文   时间:2014-12-06 10:11:33    阅读次数:264
武汉科技大学ACM :1007: A+B for Input-Output Practice (VII)
Problem DescriptionYour task is to Calculate a + b.InputThe input will consist of a series of pairs of integers a and b, separated by a space, one pai...
分类:其他好文   时间:2014-12-05 21:13:59    阅读次数:150
武汉科技大学ACM :1009: 零起点学算法63——弓型矩阵
Problem Description输出n*m的弓型矩阵Input多组测试数据 每组输入2个整数 n和m(不大于20)Output输出n*m的弓型矩阵,要求左上角元素是1,(每个元素占2个位置,靠右)Sample Input4 3Sample Output 1 2 3 6 5 4 7 8...
分类:编程语言   时间:2014-12-05 21:13:56    阅读次数:179
武汉科技大学ACM :1001: A+B for Input-Output Practice (I)
Problem DescriptionYour task is to Calculate a + b.Too easy?! Of course! I specially designed the problem for acm beginners.You must have found that s...
分类:其他好文   时间:2014-12-05 21:10:20    阅读次数:237
武汉科技大学ACM :1003: 零起点学算法67——统计字母数字等个数
Problem Description输入一串字符,统计这串字符里的字母个数,数字个数,空格字数以及其他字符(最多不超过100个字符)Input多组测试数据,每行一组Output每组输出一行,分别是字母个数,数字个数,空格字数以及其他字符个数Sample InputI am a student in...
分类:编程语言   时间:2014-12-05 21:09:27    阅读次数:202
武汉科技大学ACM :1002: A+B for Input-Output Practice (II)
Problem DescriptionYour task is to Calculate a + b.InputInput contains an integer N in the first line, and then N lines follow. Each line consists of ...
分类:其他好文   时间:2014-12-05 21:00:44    阅读次数:327
武汉科技大学ACM :1005: A+B for Input-Output Practice (V)
Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Eac...
分类:其他好文   时间:2014-12-05 20:59:08    阅读次数:212
武汉科技大学ACM :1007: 华科版C语言程序设计教程(第二版)习题5.7
Problem Description这天老师给小豪出了一道很简单题目放松:输入一个分数,让你求出它们的最简分数。Input第一行包括一个T,表示测试数据的组数。接下来T行每行包括一个分数。(分子分母均在int范围内)Output对于每个测试样例,输出一行其最简分数。Sample Input32/6...
分类:编程语言   时间:2014-12-05 20:58:54    阅读次数:258
武汉科技大学ACM :1008: A+B for Input-Output Practice (VIII)
Problem DescriptionYour task is to calculate the sum of some integers.InputInput contains an integer N in the first line, and then N lines follow. Eac...
分类:其他好文   时间:2014-12-05 20:58:18    阅读次数:147
武汉科技大学ACM :1002: 零起点学算法28——判断是否闰年
Problem Description输入年份,判断是否闰年Input输入一个整数n(多组数据)Output如果是闰年,输出yes,否则输出no(每组数据一行)Sample Input2000Sample Outputyes我的代码: 1 #include 2 int main() 3 { ...
分类:编程语言   时间:2014-12-05 20:56:46    阅读次数:176
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!