| 模型 | 模型答案 | 正确答案 |
|---|---|---|
| 金声玉亮2.0 | ```python # YOUR CODE HERE import sys input = sys.stdin.read data = input().split() N = int(data[0]) L = int(data[1]) scores = list(map(int, data[2:])) count = sum(1 for score in scores if score >= L) print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| deepseek-r1 | ```python n, l = map(int, input().split()) scores = list(map(int, input().split())) count = sum(1 for a in scores if a >= l) print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| gpto1 | ```python # YOUR CODE HERE N, L = map(int, input().split()) A = list(map(int, input().split())) count = sum(1 for score in A if score >= L) print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| gpt-4o-2024-08-06 | ```python # YOUR CODE HERE def main(): import sys input = sys.stdin.read data = input().split() N = int(data[0]) L = int(data[1]) scores = list(map(int, data[2:])) passed_count = sum(1 for score in scores if score >= L) print(passed_count) main() ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| Qwen2-72B-Instruct | ```python n,l=map(int,input().split()) a=list(map(int,input().split())) c=0 for i in range(n): if a[i]>=l: c+=1 print(c) ``` ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| DeepSeek-Coder-V2-Lite-Instruct | ```python # YOUR CODE HERE # Read the inputs from stdin N, L = map(int, input().split()) A = list(map(int, input().split())) # Count the number of people who passed the exam passed_count = sum(1 for score in A if score >= L) # Print the answer print(passed_count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| Meta-Llama-3.1-405B-Instruct-Turbo | ```python import sys # Read input from stdin N, L = map(int, sys.stdin.readline().split()) A = list(map(int, sys.stdin.readline().split())) # Count the number of people who scored at least L points count = sum(1 for score in A if score >= L) # Print the answer to stdout print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| Meta-Llama-3.1-70B-Instruct-Turbo | ```python # YOUR CODE HERE import sys n, l = map(int, sys.stdin.readline().split()) scores = list(map(int, sys.stdin.readline().split())) pass_count = sum(1 for score in scores if score >= l) print(pass_count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| baichuan4 | ```python # YOUR CODE HERE import sys # Read input from stdin input_data = sys.stdin.read().splitlines() n, l = map(int, input_data[0].split()) scores = list(map(int, input_data[1].split())) # Count the number of people who passed the exam passed_count = sum(score >= l for score in scores) # Print the result to stdout print(passed_count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| doubao | ```python N, L = map(int, input().split()) A = list(map(int, input().split())) count = 0 for a in A: if a >= L: count += 1 print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| gpto1 | ```python # YOUR CODE HERE N, L = map(int, input().split()) A = list(map(int, input().split())) count = sum(1 for score in A if score >= L) print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| kimi | ```python # YOUR CODE HERE (N, L) = map(int, input().split()) A = list(map(int, input().split())) count = 0 for a in A: if a >= L: count += 1 print(count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| minimax | ```python # YOUR CODE HERE N, L = map(int, input().split()) scores = list(map(int, input().split())) passed_count = sum(1 for score in scores if score >= L) print(passed_count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| wenxinyiyan | ```python # Read the input values N, L = map(int, input().split()) scores = list(map(int, input().split())) # Count the number of people who passed the exam passed_count = sum(1 for score in scores if score >= L) # Print the result print(passed_count) ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| zhipu | ```python # YOUR CODE HERE def main(): import sys input = sys.stdin.read data = input().split() N = int(data[0]) L = int(data[1]) A = list(map(int, data[2:])) count_passed = sum(1 for score in A if score >= L) print(count_passed) if __name__ == "__main__": main() ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |
| deepseek-v3 | ```python # YOUR CODE HERE def main(): # Read the first line of input N, L = map(int, input().split()) # Read the second line of input A = list(map(int, input().split())) # Count the number of people who scored at least L points count = sum(1 for a in A if a >= L) # Print the result print(count) if __name__ == "__main__": main() ``` |
[{"input": "5 60\n60 20 100 90 40\n", "output": "3\n", "testtype": "stdin"}, {"input": "4 80\n79 78 77 76\n", "output": "0\n", "testtype": "stdin"}, {"input": "10 50\n31 41 59 26 53 58 97 93 23 84\n", "output": "6\n", "testtype": "stdin"}] |