98 条题解

  • -1
    @ 2022-8-31 16:36:14

    米老鼠怎么开始偷糖果了呢

    • -1
      @ 2022-7-21 13:06:34

      很简单,cin+cout:

      #include <bits/stdc++.h>
      using namespace std;
      
      int main()
      {
      //  freopen(" .in", "r", stdin);
      //  freopen(" .out", "w", stdout);
          int n, a, x;
          cin >> n >> a >> x;
          cout << n-a*x;
          return 0;
      }
      

      米老鼠偷糖果

      • -1
        @ 2022-6-4 21:00:25

        #include <iostream> using namespace std; int main() { int a,x,n; cin >> n >> a >> x; cout << n-a*x; return 0; }

        • -1
          @ 2022-5-26 13:52:41

          题解:简单数学知识,n-a*x,计算剩余数量。

          • -2
            @ 2024-4-9 22:31:43

            这题太简单了所已直接上代码 #include<bits/stdc++.h> using namespace std; int main(){ int n=0,a=0,x=0; cin>>n>>a>>x; cout<<n-a*x; return 0; }

            • -2
              @ 2024-3-24 18:07:19
              #include <iostream>
              using namespace std;
              int main()
              {
                  int n,a,x;
                  cin>>n>>a>>x;
                  cout<<n-a*x;
                  return 0;
              }
              * ```none
                //彩蛋
                   _-~~~--       _-~~~-_
                  /~       ~\    :    ,  \
                 '           ~   ,   |:  :
                {      /~~\  :--~""""\.:  :
                 \    (... :   /^\  /^\\ ;
                  ~\_____     |   | | |:~
                        /     |__O|_|O|;
                       (     /       O \
                        \   ( `\_______/)
                         `\  \         /
                           )  ~-------~'\
                          /              \
                         :               ||
                         |  |            ||
                         |  |.======[]==+'|
                        (~~~~)       |   |~)
                        /    \       |   | \
              

              Copy *

              
              
              • -2
                @ 2024-1-2 22:16:50
                #include <bits/stdc++.h>
                using namespace std;
                int main()
                {
                    int n, a, x;
                    //分别是糖果总数、每次运的颗数和运的次数三   个变量
                    cin >> n >> a >> x;
                    //输入三个变量
                    n = n - a * x;
                    //从总数中减去运的总颗数
                    cout << n;
                    //输出最后结果
                    return 0;
                }
                
                • -2
                  @ 2023-10-1 9:57:43

                  #include <iostream> using namespace std; int main() { int n,a,x; cin>>n>>a>>x; cout<<n-(a*x); return 0; }

                  • -2
                    @ 2023-9-27 20:26:33

                    这道题真的好 讲真的,这题没什么好说的 对了,下面的代码有一点小错误,请自己找出并改正😄

                    #include <bit/stdc++.h>
                    using namespace std;
                    int a,b,c;
                    int main()
                    {
                        cin >> a>>b>>c;
                        cout <<a-b*c;
                    }
                    
                    • -2
                      @ 2023-9-22 21:05:52
                      #include <iostream>
                      using namespace std;
                      int main()
                      {
                          **存仨变量;**
                          把一个当输入用;
                          存储十位;
                          存储个位;
                          如果甲比乙大
                          {
                              输出甲;
                          }
                      
                          否则
                          {
                              输出乙;
                          }
                      
                          return 0;
                      }//点赞,点赞!!!
                      
                      • -2
                        @ 2023-8-30 14:15:05

                        废话不多说,上代码。

                        #include<iostream>
                        using namespace std;
                        int main()
                        {
                            int n,a,x;
                            cin>>n>>a>>x;
                            for(int i=1;i<=x;i++)
                            {
                                n-=a;
                            }
                            cout<<n;
                            return 0;
                        }
                        
                        
                        
                        • -2
                          @ 2023-8-16 21:49:19

                          不会吧,这么简单 应该都会吧......(先 后看!养成习惯!)

                          #include<iostream>
                          using namespace std;
                          int n,a,x;
                          int main()
                          {
                              cout<<5;
                              //相信我,绝对行
                              //绝对AC
                              return 0;
                          }
                          
                          

                          制作不易,给个赞吧,球球了...... 有什么问题,联系我,邮箱是ASheepBoy_Bed@163.com

                        • -2
                          @ 2023-7-18 21:36:53
                          #include <iostream>
                          using namespace std;
                          int main()
                          {
                          int n,a,x;//定义
                          cin >>n>>a>>x;//输入
                          cout <<n-x*a;//输出用总糖果数减去偷的糖果数(奇奇怪怪的米老鼠)
                          return 0;
                          }
                          
                          • -2
                            @ 2023-7-16 12:02:29

                            来力!!!! python3

                            p=int(input())
                            o=int(input())
                            i=int(input())
                            o=o*i
                            p=p-o
                            print(p)
                            
                            • -2
                              @ 2023-2-10 14:44:03

                              jjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjjj

                              • -2
                                @ 2023-2-7 14:04:01

                                非常简单

                                #include <bits/stdc++.h>
                                using namespace std;
                                int main()
                                {
                                    int a,n,x,sum=0;
                                    cin >> n >> a >> x  ;
                                    sum=n-a*x;
                                    cout<<sum;
                                    return 0;
                                }
                                
                                • -4
                                  @ 2022-8-17 13:04:05

                                  #include <bits/stdc++.h> using namespace std; int main() { int n, a, x; cin >> n >> a >> x; cout << n - a * x;

                                  return 0;

                                  } image

                                  • -6
                                    @ 2022-8-2 21:22:38

                                    有手就行

                                    
                                    

                                    #include <bits/stdc++.h> using namespace std; int main() { int n,a,x; cin >> n >> a >> x; cout << n - a * x;//总量-每次数*次数 return 0; }

                                    
                                    

                                    信息

                                    ID
                                    596
                                    时间
                                    1000ms
                                    内存
                                    64MiB
                                    难度
                                    2
                                    标签
                                    递交数
                                    7577
                                    已通过
                                    4436
                                    上传者