| 模型 | 模型答案 | 正确答案 |
|---|---|---|
| 金声玉亮2.0 | ```python # YOUR CODE HERE import sys input = sys.stdin.read N = int(input().strip()) dragon_string = 'L' + 'o' * N + 'n' + 'g' print(dragon_string) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| deepseek-r1 | ```python n = int(input()) print('L' + 'o' * n + 'ng') ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| gpto1 | ```python # YOUR CODE HERE N = int(input()) print('L' + 'o' * N + 'n' + 'g') ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| gpt-4o-2024-08-06 | ```python # YOUR CODE HERE def main(): import sys input = sys.stdin.read N = int(input().strip()) # Construct the Dragon String of level N dragon_string = "L" + "o" * N + "ng" # Print the Dragon String print(dragon_string) if __name__ == "__main__": main() ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| DeepSeek-Coder-V2-Lite-Instruct | ```python # YOUR CODE HERE def dragon_string(n): if n == 1: return "Long" else: return "L" + "o" * n + "ng" # Read input from stdin N = int(input().strip()) # Print the Dragon String of level N print(dragon_string(N)) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| Meta-Llama-3.1-405B-Instruct-Turbo | ```python N = int(input()) print("L" + "o" * N + "ng") ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| Meta-Llama-3.1-70B-Instruct-Turbo | ```python # Read the input from stdin N = int(input()) # Generate the Dragon String of level N dragon_string = "L" + "o" * N + "ng" # Print the Dragon String print(dragon_string) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| Qwen2-72B-Instruct | ```python n = int(input()) print("L" + "o"*n + "ng") ``` ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| baichuan4 | ```python # YOUR CODE HERE import sys # Read input from stdin N = int(sys.stdin.readline().strip()) # Generate the Dragon String of level N dragon_string = 'L' + 'o' * N + 'n' + 'g' # Print the Dragon String print(dragon_string) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| doubao | ```python N = int(input()) print("L" + "o" * N + "ng") ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| gpto1 | ```python # YOUR CODE HERE N = int(input()) print('L' + 'o' * N + 'n' + 'g') ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| kimi | ```python # YOUR CODE HERE n = int(input()) print('L' + 'o' * n + 'ng') ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| minimax | ```python # YOUR CODE HERE N = int(input()) dragon_string = 'L' + 'o'*N + 'n' + 'g' print(dragon_string) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| wenxinyiyan | ```python # Read the input from stdin N = int(input()) # Generate the Dragon String of level N dragon_string = "L" + "o" * N + "ng" # Print the Dragon String to stdout print(dragon_string) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| zhipu | ```python # YOUR CODE HERE def main(): import sys input = sys.stdin.read N = int(input().strip()) dragon_string = 'L' + 'o' * N + 'ng' print(dragon_string) if __name__ == "__main__": main() ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |
| deepseek-v3 | ```python # YOUR CODE HERE N = int(input()) dragon_string = 'L' + 'o' * N + 'n' + 'g' print(dragon_string) ``` |
[{"input": "3\n", "output": "Looong\n", "testtype": "stdin"}, {"input": "1\n", "output": "Long\n", "testtype": "stdin"}] |