全部评论 5

  • #include<iostream>
    using namespace std;
    int x;
    int m,sec;
    int main(){
        cin>>x;
        if(x % 60 == 0) m = x / 60;
        else{
            while(1){
                if(x % 60 != 0){
                    x--;
                    sec++;
                }else if(x % 60 == 0){
                    m = x / 60;
                    break;
                }
            }
        }
        cout<<m<<" "<<sec;
        return 0;
    }
    

    我的代码不一样

    2026-04-09 来自 广东

    0
  • 你对 C++ 的了解程度不会和我对 py 的了解程度一样吧(((

    2026-04-08 来自 浙江

    0
  • 居然写水体题解(

    2026-04-07 来自 浙江

    0
  • 笑点解析:调了三次才 AC

    2026-04-07 来自 北京

    0
  • qp

    2026-04-07 来自 北京

    0
暂无数据

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

首页