),繼續“誤人子弟”。
<stdlib.h> max 1000 main( argc, * stu[max]; stur[max]; rank,jack_id; flag[,(scanf(,&jack)!=( i= ; i<max ;i++==( i= ; i< ;i++=( i= ; ;i++,&stu[i],&(stu[i]==&&stur[i]==) =( i= ; i<n ; i++(jack====( i= ; i<n ; i++((stur[i]>stur[jack_id])&&(flag[stur[i]]!=)){ rank++=
max 1000
main( argc, *argv[]) {
main( ) {
)
stu[max]; stur[max];
flag[];
)
(scanf(,&jack)!=EOF){
( i= ; i<max ;i++==
(scanf(,&jack)!= stu[max] = {}; stur[max]= {}; }
( i= ; i< ;i++=
( i= ; ;i++,&stu[i],&(stu[i]==&&stur[i]==)
<stdlib.h> FN "%ld" FM "%d" input( STD [] , num_t , mark_t * rank( STD [] , main( ( scanf( FN , &jack_n ) != + = input( stu , jack_n , &jack_m ); printf( , rank( stu , sum , jack_m ) ); input( STD stu[] , num_t j_n , mark_t ** p_ini = ( scanf( FN FM , &stu->num , &stu->->num != j_n ) stu ++* p_j_m = stu++ -> ( scanf( FN FM , &stu->num , &stu->->num != || stu->mark != ) stu ++ stu - rank( STD stu[] , r = ( i = ; i < n ; i ++ ( stu[i].mark >++
網友提供的信息:
網友的意見:
#include <stdio.h> #include <stdlib.h> input( STD * , , * rank( STD [] , , main( ( scanf( , &jack_n ) != STD stu[ + sum = input( stu , jack_n , &jack_m ); printf( , rank( stu , sum , jack_m ) ); system( input( STD * p_stu , j_n , * STD * p_ini = ( scanf( , &p_stu->num , &p_stu-> p_stu -> num != j_n ) p_stu ++ * p_j_m = p_stu ++ -> ( scanf( , &p_stu->num , &p_stu-> p_stu->num != || p_stu->mark != ) p_stu ++ p_stu - rank( STD stu[] , n , r = ( i = ; i < n ; i ++ ( stu[i].mark > r ++ }
和兩位網友表示謝意。