Classic
Clean & simple
Crystal
Glassmorphism + Neon
Cyberpunk
Neon glitch art
🚫
违规Action检测
禁止Use右键菜单
⚠️ 此Action已被系统记录
1

Integer Inquiry

📝 Solutions 🔵 仅限 C++
Problems Description
<p> One of the first users of BIT's new supercomputer was Chip Diller.<br /> &nbsp;&nbsp;&nbsp; He extended his exploration of powers of 3 to go from 0 to 333 and he explored taking various sums of those numbers. <br /> &nbsp;&nbsp;&nbsp; "This supercomputer is great,'' remarked Chip. <br /> &nbsp;&nbsp;&nbsp; "I only wish Timothy were here to see these results.''<br /> &nbsp;&nbsp;&nbsp; (Chip moved to a new apartment, once one became available on the third floor of the Lemon Sky apartments on Third Street.) </p>
Input格式
<p> The input will consist of at most 100 lines of text, each of which contains a single VeryLongInteger. Each VeryLongInteger will be 100 or fewer characters in length, and will only contain digits (no VeryLongInteger will be negative). </p> <p> &nbsp;&nbsp;&nbsp; The final input line will contain a single zero on a line by itself. </p>
Output格式
<p> Your program should output the sum of the VeryLongIntegers given in the input. </p>
Sample
Sample Input 1
02142365262 640923185904378532104 5824357832190450385904375987431254 0
Sample Output 1
5824357832191091309090282508328620
Submit Code
请先Login后Submit

🤖 AI 解题助手

OpenRouter
就绪
👋 你好!我是 AI 解题助手。
我已阅读了这problems题,可以帮你points析思路、提供Code示例。
🔓 完全Free · 无需消耗 Token