acgo题库
  • 首页
  • 题库
  • 学习
  • 天梯
  • 备赛

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
  • 资讯
  • 竞赛
  • 讨论
  • 团队
  • 商城
登录
注册
题目详情提交记录(0)
  • 为什么会这样,大佬求帮

    #include <bits/stdc++.h> using namespace std; int main(){ long long n,c=1; cin>>n; for(int i=1;i<=n;i++){ c*=i; } if(c%24==0) cout<<"YES"; else cout<<"NO"; return 0; } 大佬帮我看看为什么我这代码运行之后,输入31输出的是NO

    userId_undefined
    凤凰_海神之子_火星 (互关)
    6月全勤卷王出道萌新空间掌握者维度操控者倔强青铜数组·数组操作员
    12阅读
    3回复
    1点赞
  • 骗分代码(8个AC)

    #include<bits/stdc++.h> using namespace std; int main(){ int x; cin>>x; if(x==2) cout<<"NO"; else cout<<"YES"; return 0; }

    userId_undefined
    乐乐(互赞)赞我就赞你
    小有名气9月全勤卷王时间刺客空间掌握者维度操控者枚举·枚举小能手
    32阅读
    3回复
    2点赞
  • 答案

    #include<bits/stdc++.h> using namespace std; int main(){ int x,s=1; cin>>x; for(int i=1;i<=x;i++){ s=s*i; } if(s%24==0){ cout<<"YES"; }else{ cout<<"NO"; } return 0; }

    userId_undefined
    哈基 大咪
    分支·分支解题者空间掌握者I/O·IO入门者循环·循环打卡人倔强青铜
    42阅读
    0回复
    2点赞
  • 智慧树???

    plant vs zombies

    userId_undefined
    可乐(原名周泓甫)
    空间掌握者循环·循环打卡人快乐小狗秩序白银数组·数组操作员格式·格式排版员
    9阅读
    0回复
    0点赞
暂无数据

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

首页