{"problem":{"name":"谁考了第 k 名","description":{"content":"在一次考试中，每个学生的成绩都不相同，现知道了每个学生的学号和成绩，求考第 $k$ 名学生的学号和成绩。","description_type":"Markdown"},"platform":"Luogu","limit":{"time_limit":1000,"memory_limit":524288},"difficulty":{"LuoguStyle":"P1"},"is_remote":true,"is_sync":true,"sync_url":null,"sign":"LGB2158"},"statements":[{"statement_type":"Markdown","content":"在一次考试中，每个学生的成绩都不相同，现知道了每个学生的学号和成绩，求考第 $k$ 名学生的学号和成绩。\n\n## Input\n\n第一行有两个整数，分别是学生的人数 $n(1\\le n\\le100)$ 和求第 $k$ 名学生的 $k(1\\le k\\le n)$。\n\n其后有 $n$ 行数据，每行包括一个学号（整数）和一个成绩（浮点数），中间用一个空格分隔。\n\n## Output\n\n输出第 $k$ 名学生的学号和成绩，中间用空格分隔。（注：请用 `%g` 输出成绩）\n\n[samples]","is_translate":false,"language":"English"}],"meta":{"iden":"LGB2158","tags":["排序","结构体"],"sample_group":[["5 3\n90788001 67.8\n90788002 90.3\n90788003 61\n90788004 68.4\n90788005 73.9","90788004 68.4"]],"created_at":"2026-03-03 11:09:25"}}