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

【设计型】Page 9章: 指针 9.9 求和啦(2)

📝 Solutions 🔵 仅限 C++
Problems Description
<p class="p0"> <span style="font-size:10.5pt;font-family:'宋体';">利用指向行的指针变量求<span>5*3</span><span>数组各行元素之和。</span></span> </p>
Input格式
输入5行数据,每行数据均有三items整数,整数之间用空格隔开。
Output格式
<p> 输出格式为五行数据,每行数据为两items整数,Page 一items为序号,Page 二items为和。 </p>
Sample
Sample Input 1
1 1 1 2 2 2 4 4 6 5 6 7 7 8 9
Sample Output 1
1 3 2 6 3 14 4 18 5 24
Submit Code
请先Login后Submit

🤖 AI 解题助手

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