acgo题库
  • 首页
  • 题库
  • 学习
  • 竞赛
  • 讨论
  • 排行
  • 团队
  • 备赛专区

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情提交记录(0)
  • 救命!样例过了但不对

    userId_undefined

    哇!我传伞太准了

    出道萌新秩序白银时空双修者空间掌握者时间刺客
    85阅读
    3回复
    1点赞
  • A7863.【结构体】结构体数组的遍历

    #include <bits/stdc++.h> using namespace std; const int z=1e3+10; int n; struct si{ string name; double id; int c; }a[z]; int main() { cin>>n; for(int i=1;i<=n;i++){ cin>>a[i].name>>a[i].id>>a[i].c; } for(int i=1;i<=n;i++){ cout<<a[i].name<<" "; printf("%.1lf",a[i].id); cout<<" "<<a[i].c<<endl; } return 0; }

    userId_undefined

    爱学c++(有必回关)(有好比赞

    小有名气出道萌新倔强青铜I/O·IO入门者
    0阅读
    0回复
    0点赞
暂无数据

提交答案之后,这里将显示提交结果~

首页