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

矩阵转置0

📝 Solutions 🔵 仅限 C++
Problems Description
<p> 输出已知矩阵的转置矩阵(行与列的数量相同 ) </p> <p> <div class="O"> <div> <b>The old array and new array should share the same space. </b> </div> <div> <b>&nbsp;At the same time your program should compute the numbers </b><b>that more than 60. </b> </div> <div> </div> </div> </p>
Input格式
<p> <span style="line-height:1.5;">4 //矩阵的维度</span> </p> <p> 71 72 73 74 //4×4的数据<br /> 5 76 7 8<br /> 9 10 71 72<br /> 13 14 15 76<br /> </p>
Output格式
<p> 71 5 9 13 //转置矩阵<br /> 72 76 10 14<br /> 73 7 71 15<br /> 74 8 72 76<br /> 8//大于60的数目<br /> </p> <p> <br /> </p> <p> <br /> </p>
Sample
Sample Input 1
4 71 72 73 74 5 76 7 8 9 10 71 72 13 14 15 76
Sample Output 1
71 5 9 13 72 76 10 14 73 7 71 15 74 8 72 76 8
Submit Code
请先Login后Submit

🤖 AI 解题助手

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