Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
78188 康帅 22兔子问题 C++ Compile Error 0 MS 0 KB 147 2024-06-16 16:52:23

Tests(0/0):


Code:

n = int(input()) rabbits = list( map(int, input().split() )) eyes = 0 for r in rabbits: eyes += r*2 feet = 2*eyes print( feet ,eyes)


Run Info:

Main.cc:1:1: error: 'n' does not name a type
 n = int(input())
 ^