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

    竞赛

    • CSP-J/S
    • 蓝桥杯

    考级

    • GESP
    • CPA
    • 电子学会考级
登录
注册
题目详情题解(0)讨论(0)提交记录(0)
  • 耶(^-^)V

    C++:

    userId_undefined

    金刚石

    倔强青铜
    34阅读
    0回复
    1点赞
  • # 官方题解|欢乐赛#44 T1

    T1 思路分析 由于数字 888 中有两个O,显然在 1−1001-1001−100中,888888的O最多的,所以直接输出 888888 即可。 代码

    userId_undefined

    桌子乱的反义词

    荣耀黄金
    15阅读
    0回复
    2点赞
  • 题解

    userId_undefined

    zsy

    秩序白银
    17阅读
    0回复
    1点赞
  • 非官方题解

    这么简单,不会有人没过吧~ 看题,在所有的数字中,只有 8 是有两个 0 的。 在 1 - 100 中,含有 8 最多的是 88 ,所以直接输出。 Python Code: C++ Code:

    userId_undefined

    ༺ཌༀ我不会身法ༀད༻

    荣耀黄金
    13阅读
    0回复
    1点赞
  • C++ 题解~

    可以直接用printf输出

    userId_undefined

    你

    倔强青铜
    4阅读
    0回复
    1点赞
  • o题解!!!

    #include <iostream> using namespace std; int oc[10] = {1, 0, 0, 0, 1, 0, 1, 0, 2, 1}; int main() { int m = 0; int r = 0; for (int num = 1; num <= 99; num++) { int c = 0; int ts = num / 10; int us = num % 10; c += oc[ts]; c += oc[us]; if (c > m) { m = c; r = num; } } }

    userId_undefined

    胡智祁

    秩序白银
    12阅读
    0回复
    0点赞
  • 8最多

    #include<bits/stdc++.h> using namespace std; int main(){ cout<<"88"; return 0; }

    userId_undefined

    霄

    荣耀黄金
    12阅读
    0回复
    0点赞
  • Python

    userId_undefined

    无敌de鳖佬仔给老爷爷ccb

    秩序白银
    1阅读
    0回复
    0点赞
首页