【2021秋季赛第一题】种子生成器
该比赛已结束,您无法在比赛模式下递交该题目。您可以点击“在题库中打开”以普通模式查看和递交本题。
这是第一道温暖的小周题。
题目背景
张三想要开一个mc存档,但他想用一种奇♂妙的方式来选择种子,于是他就请你来帮他实现这个奇♂妙的设想。
题目要求
输入 个数 。注意这些数可能特♂别大
输入包含 行:
第一行包括一个整数 ,即输入数的数量。
第 行包括 个整数,即随意输入的数。
那么输出什么呢?很显然,我们可以假设这些数分别为 ,我们便可以写出一个表达式: 。那么我们要输出的就是这个s了。
输入输出格式
输入格式
输入包含 行:
第一行包括一个整数 ,即输入数的数量。
第 行包括 个整数,即随意输入的数。
输出格式
输出一行: 。
4
141592653589793
238462643383279
502884197169399
375105820974944
1258045315117415
其他
对于 的数据, ,
英文翻译
来自 Surpse
Topic background
Zhang San wants to build an Minecraft archive, but he wants to choose seeds in a different way, so he needs you to help him implement this program.
Title Requirements
Enter numbers 。 Note that these numbers can be large The input contains rows: The first line includes an integer , the number of input numbers. Line includes integers, that is, the number entered at will. Output the sum of N numbers .
Format
input
4
141592653589793
238462643383279
502884197169399
375105820974944
Output
1258045315117415
Other
For data, ,