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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情提交记录(0)
  • GESP 二级 真题

    #include<bits/stdc++.h> using namespace std; using namespace std; int main(){ int n; cin>>n; for(int i=1;i<=n;i++){ int x; int sum; sum=0; cin>>x; while(x!=0){ sum+=x%10; x/=10; } if(sum%7==0){ cout<<"Yes"<<endl; } else cout<<"No"<<endl; } return 0; }

    userId_undefined

    智慧达达(1)

    时间刺客空间掌握者7月全勤卷王出道萌新秩序白银快乐小狗
    36阅读
    4回复
    1点赞
  • 题解

    #include<iostream> using namespace std; int main(){ int a,b,c; cin>>a; for(int i=1;i<=a;i++){ cin>>b; c=0; while(b!=0){ c=c+b%10; b=b/10; } if(c%7==0){ cout<<"Yes"<<endl; } else{ cout<<"No"<<endl; } } return 0; }

    userId_undefined

    LS_YZY

    题解仙人时空双修者出道萌新倔强青铜模拟·模拟练习生快乐小狗
    16阅读
    0回复
    0点赞
  • easy

    ~~ ~~

    userId_undefined

    无敌的鳖佬仔给老爷爷猜猜被

    7月全勤卷王荣耀黄金时间刺客空间掌握者循环·循环打卡人I/O·IO入门者
    11阅读
    0回复
    0点赞
  • 题解

    userId_undefined

    zsy

    7月全勤卷王8月全勤卷王时空双修者题解仙人快乐小狗秩序白银
    7阅读
    0回复
    0点赞
暂无数据

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

首页