2 条题解

  • 1
    @ 2024-10-17 22:36:54

    不用考虑余数 就是简单小学数学题

    一瓶单价3元 n元最多买n/3瓶

    AC code:

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

    信息

    ID
    20
    时间
    1000ms
    内存
    256MiB
    难度
    1
    标签
    递交数
    90
    已通过
    44
    上传者