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

热身赛B题

📝 Solutions 🔵 仅限 C++
Problems Description
<p class="p0" style="margin-top: 0pt; text-indent: 21pt; margin-bottom: 0pt"><span style="font-family: '宋体'; font-size: 10.5pt; mso-spacerun: 'yes'">输入若干items数,然后将他们按照输入的相反顺序输出。&nbsp;</span><span style="font-family: '宋体'; font-size: 10.5pt; mso-spacerun: 'yes'"><o:p></o:p></span></p> <!--EndFragment-->
Input格式
<p class="p0" style="margin-top: 0pt; text-indent: 21pt; margin-bottom: 0pt"><span style="font-family: '宋体'; font-size: 10.5pt; mso-spacerun: 'yes'">首先输入一items正整数<font face="Times New Roman">n</font><font face="宋体">,代表有</font><font face="Times New Roman">n</font><font face="宋体">组数据(</font><font face="Times New Roman">n&lt;=20</font><font face="宋体">)</font><font face="Times New Roman">,</font><font face="宋体">接下来</font><font face="Times New Roman">n</font><font face="宋体">行每行输入一items数</font><font face="Times New Roman">m</font><font face="宋体">。</font></span><span style="font-family: '宋体'; font-size: 10.5pt; mso-spacerun: 'yes'"><o:p></o:p></span></p> <!--EndFragment-->
Output格式
<div class="Section0" style="layout-grid: 15.6pt none"> <p class="p0" style="margin-top: 0pt; text-indent: 21pt; margin-bottom: 0pt"><span style="font-family: '宋体'; font-size: 10.5pt; mso-spacerun: 'yes'">反转输出输入的数据,参见样例输出格式。</span><span style="font-family: '宋体'; font-size: 10.5pt; mso-spacerun: 'yes'"><o:p></o:p></span></p> <p class="p0" style="margin-top: 0pt; margin-bottom: 0pt"></p> </div> <!--EndFragment-->
Sample
Sample Input 1
4 11 2 35 4
Sample Output 1
4 35 2 11
Submit Code
请先Login后Submit

🤖 AI 解题助手

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