29 条题解

  • 0
    @ 2023-8-5 21:27:50

    超超超超超简单!

    #include <bits/stdc++.h> 
    using namespace std;
    int main(){long long a, b;cin>>a>>b;cout<<a*b;return 0;}
    
    • 0
      @ 2022-10-16 17:42:22

      MOD把我要说的说完了 还是:long long 上代码

      #include <bits/stdc++.h>
      using namespace std;
      int main()
      {
          long long n, a;
          cin >> n >> a;
          cout << n * a;
          return 0;
      }
      
      • 0
        @ 2022-9-10 18:01:44

        最短题解:

        #include <iostream>
        using namespace std;
        int main()
        {
            long a,b;
        	cin>>a>>b;
        	cout<<long(a*b);
        	return 0; 
        }
        
        </span>
        • @ 2023-4-29 20:47:21
          #include <bits/stdc++.h>
          using namespace std;
          int main()
          {
              long long a,b;
              cin >> a >> b;
              cout << a*b;
              return 0;
          }
          
      • 0
        @ 2022-8-5 18:02:47

        #include <iostream> using namespace std; int main() { long long a,b; cin >> a >> b; cout << a * b; }

        这题其实特别简单,小编的做法是先把long long定义完a , b,输入,然后再输出a * b就可以了 万能头文件也行哦

        • @ 2022-8-27 13:18:42

          万能头? 我不会。 如回复, 谢大神。

        • @ 2022-8-27 13:19:14

          😕 😕 😕

        • @ 2022-9-12 14:07:33

          @万能头是:

          #include<bits/stdc++.h>

        • @ 2022-9-12 14:09:07

          @万能头主要用于算法,如果你要用多个头不如试试万能头

        • @ 2022-12-14 18:37:20

          @ 对了,有些头文件不包含在万能头文件里哦~

        • @ 2022-12-25 13:23:29

          训练上面有,往上翻就行。

        • @ 2023-4-29 20:50:08
          #include <bits/stdc++.h>
          using namespace std;
          int main()
          {
              return 0;
          }//第一种
          

          #include <iostream> using namespace std; int main() { return 0; }//二

          
          
        • @ 2023-8-31 15:23:56

          万能头拖时间

        • @ 2024-2-23 18:29:13

          @是拖编译时间

      • -1
        @ 2024-5-26 19:36:36

        mod竟然发了这么长的题解??!?!?!?!??! 我直接上最简单代码————————

        #include <bits/stdc++.h>
        using namespace std;
        int main()
        {
            long long a, b;
            cin >> a >> b;
            cout << a * b;
            return 0;
        }
        

        题目里都说了long long,再错就不应该了awa!

        • -1
          @ 2024-2-12 14:48:35

          #include <bits/stdc++.h> using namespace std; int main() { long long a, b; cin >> a >> b; cout << a * b; return 0; }

          • -2
            @ 2023-8-18 22:26:19
            #include <iostream>
            using namespace std;
            int main()
            {
                long long a, b;
                cin >> a >> b;
                cout << a * b;
                return 0;
            }
            
            • -3
              @ 2023-10-28 21:36:21

              太简单了,直接上代码吧

              • @ 2023-11-13 9:24:59

                代码呢👎👎👎,不是很简单吗q(≧▽≦q)?

            • -9
              @ 2022-8-21 15:39:47

              用long long(int long long a,b;)就行了,避免爆掉

              信息

              ID
              1795
              时间
              1000ms
              内存
              256MiB
              难度
              3
              标签
              递交数
              2925
              已通过
              1635
              上传者