1 条题解
-
0
C++ :
#include <bits/stdc++.h> using namespace std; int n,s=0; int main(){ for(int i=1;i<=10;i++){ cin>>n; s+=n; } cout<<278-s; return 0; }
Python :
# coding=utf-8 a, b, c, d, e, f, g, h, i, j = input().split() a = int (a) b = int (b) c = int (c) d = int (d) e = int (e) f = int (f) g = int (g) h = int (h) i = int (i) j = int (j) x = (a + b + c + d + e + f + g + h + i + j) n = x print (278 - n)
- 1
信息
- ID
- 426
- 时间
- 1000ms
- 内存
- 128MiB
- 难度
- 10
- 标签
- (无)
- 递交数
- 2
- 已通过
- 2
- 上传者