搜索资源列表
nbl
- 逆波兰式计算,将格式化数组转化为逆波兰表达式,a为输入的数组,n为其长度,p为输出逆波兰表达式的目标,m记录逆波兰表达式的长度 -inverse Polish, the array will be formatted into reverse Polish expression, a for the importation of arrays, its length n, p output of the inverse expression Poland, Poland inverse m re
2
- 依次输入单个字符到该数组中,直到输入回车完成该字符数组的输入。反向输出该数组中的字符串内容。 // 输入:This is Test! 输出结果为:!tseT si sihT // 并利用sizeof运算符,求出数组占用的内存字节数-Followed by the importation of a single character to the array until the completion of the carriage return character input array i
Cyuyandaima
- 改程序包,包含以下五个C程序内容,对数组进行排序,求100之内的素数,数组的逆序输出,杨辉三角和计算一维数组中所有元素的平均值-Change the program package, contains the following five C program content, to sort the array, and 100 primes, reverse output array, mean value of all elements of the Yang Hui triangle an
cs
- 判断任意一年是否为闰年,输入年份,执行程序后输出是否为闰年 打印以下图案: * *** ***** ******* ********* 计算M=11+ 22+ 33+…+ NN,直到N等于30为止 输入8个整数,将其逆序存放后再输出。 2、从 键盘 上输入两个字符串,不用库函数strcat()连接两个字符串,连接后的字符串放到另一
The-array-of-rows-in-reverse
- 完成数组的倒序显示,保存进去是顺序,显示出来是倒序-Complete array of reverse display, save into a sequence is displayed in reverse
8086
- basic programs such as find largest/ smallest number in array, positive numbers count, reverse of a string, palindrome etc. in assembly language
reverseArray_singleblock
- 反向阵列(单块)-- 给定指针d_a中的输入数组{a0,a1,...,an-1},将反向数组{an-1,an-2,...,a0}存储在指针d_b中 A: 从“reverseArray_singleblock”模板开始 B: 只有一个线程块启动,以反转一个大小的数组 N = numThreads = 256个元素 C: 第1部分(共1个):所有你需要做的是实现内核的“reverseArrayBlock()” D:每个线程将单个元件移动到相反的位置, 从d_a指标读取输入,
reverseArray_multiblock
- 反向阵列(multiblock): 给定指针d_a中的输入数组{a0,a1,...,an-1},将反向数组{an-1,an-2,...,a0}存储在指针d_b中 A: 从“reverseArray_multiblock”模板开始 B:多个256线程块启动,要颠倒大小为N,N / 256块的数组 第1部分:计算要启动的块数 第2部分:实现内核reverseArrayBlock 请注意,现在您必须同时进行计算 块内的相反位置 反向偏移到块的开始(Reverse array