NC200014. Lady Layton with Age
描述
输入描述
The first line contains one integer T(1<=T<=10)— the number of test cases.
The only line of each test case contains one integers x(1<=x<=100) — the age of .
输出描述
For each test case print one integer in one line — the age of you.
示例1
输入:
1 19
输出:
19
C++11(clang++ 3.9) 解法, 执行用时: 3ms, 内存消耗: 376K, 提交时间: 2019-12-07 14:54:48
#include<stdio.h> int main() { int t,x,m; scanf("%d",&t); while(t--){ scanf("%d",&x); printf("%d\n",x); } }
Python(2.7.3) 解法, 执行用时: 18ms, 内存消耗: 2920K, 提交时间: 2019-12-07 13:40:11
t = int(raw_input()) for i in range(t): x = raw_input() print(x)
pypy3(pypy3.6.1) 解法, 执行用时: 50ms, 内存消耗: 18520K, 提交时间: 2019-12-07 15:18:00
n = int(input()) for i in range(n) : print(input())
Python3(3.5.2) 解法, 执行用时: 24ms, 内存消耗: 3424K, 提交时间: 2019-12-07 13:16:36
for T in range(int(input())): print(input())