Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - FIRST FOLLOW S
Search - FIRST FOLLOW S - List
相信计算机专业的学生在学《编译原理》时都做了有关求first和follow集的问题。此程序用VC++做,相信会给大家一定的帮助。-it s sure that the student of computer do first and follow when learning <<compiler>>. This program uses vc++,and i am sure it is useful for everyone!
Date : 2025-12-20 Size : 331kb User : 如月

The input consists of multiple test cases. For each case, the first line contains three positive integers N, M and K where N is the number of people, M is the number of design elements, and K is the number of elements XKA will put into his design. Then N lines follow, each contains M numbers. The j-th number in the i-th line represents the i-th person s satisfaction on the j-th element.
Date : 2025-12-20 Size : 1.87mb User : 捉不住的鼬鼠

DL : 0
ACM1121题:MSTC里有好多有特长的人, 有些是力量型人才,有些是智力型人才,有些是敏捷型的。 现在告诉你 N 个人, 每个人的力量,智力,敏捷的值, 和每个人的编号。 题目要求你将 N 个部员 按照力量 从大到小 排序, 如果两个部员的力量相同, 则按照 智力 值从大到小排序, 如果 两个部员力量, 智力 都一样,则按照 敏捷从 小 到 大排序。 测试数据保证没有两个部员的 力量, 智力, 敏捷 全部相同。 Input第一行 N :表示有 N 个同学。 ( 1 <= N <= 500 ) 接下来 N 行, 第 i 行有 3 个值, ai, bi, ci a 代表 力量, b 代表智力, c 代表敏捷。 编号为 i ( i 是部员的编号, 1 <= i <= N ) Output输出 N 行: 将排序后的部员编号输出。 每行一个编号Sample Input4 2 2 3 2 3 4 4 8 9 2 2 2Sample Output3 2 4 1-ACM1121 Question: MSTC there are a lot of people with skills, talents and some power, some are intellectual talent, some are agile type. Now tell you N individuals, each person' s strength, intelligence, agility value, and each person' s number. Topics will ask you who follow the power ministries N descending order, if the power of the two members of the same department, follow the descending order of intelligence value, if two members of the Ministry of power, intelligence all the same, in accordance with agile childhood to large order. Test data to ensure that no member of the power of the two departments, intelligence, agility all the same. Input The first line of N: N expressed classmates. (1 < = N < = 500) in the next row N, the first row has three values ​ ​ i, ai, bi, ci a representative of power, b representative of intelligence, c Representative agile. Number i (i is the number of member portions, 1 < = i < = N) Output Output N line: the number output u
Date : 2025-12-20 Size : 1kb User : 范晓旭
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.