13 条题解

  • 1
    @ 2023-6-14 19:52:30
    #include <iostream>
    #include <stdio.h>
    #include <iomanip>
    #include <math.h>
    using namespace std;
    const int N = 1e6 + 10;
    const int INF = 0x3f3f3f3f;
    int main()
    {
    	int n;
    	cin >> n; 
    	n = n * 256 * 1024;
    	cout << n;
    	return 0;
    }
    
    • 0
      @ 2024-4-10 20:10:27

      #include<iostream> using namespace std; int main(){ char a; cin>>a; cout<<" "<<a<<endl; cout<<" "<<a<<a<<a<<endl; cout<<a<<a<<a<<a<<a<<endl; return 0; }

      • 0
        @ 2024-3-16 21:45:59

        python的好处:可以一步到位

        print(int(int(input())*1024*1024/4))
        
        • 0
          @ 2024-1-17 14:17:13
          #include<bits/stdc++.h>
          using namespace std;
          int main(){
              long long rzr,m;
              cin>>rzr;
              cout<<rzr*1024*256;
          }
          
          
          • 0
            @ 2023-7-15 22:53:33

            样例告诉我们了,11 MB 答案就是 262144262144,所以我们只需要输出 262144×n262144\times n 即可。

            python一行解决:

            print(int(input())*262144)
            

            是不是很简单(

            • 0

              样例已经告诉我们了【。。。】

              #include <bits/stdc++.h>
              using namespace std;
              int main() 
              {
                  int a; 
                  cin >> a;
                  cout << a * 262144;
                  return 0;
              }
              
              • 0
                @ 2023-5-12 19:12:09
                #include <bits/stdc++.h>
                using namespace std;
                int main() 
                {
                    int n; 
                    cin >> n;
                    cout << n * 262144;
                    return 0;
                }
                
                • 0
                  @ 2023-4-27 13:46:58
                  #include <bits/stdc++.h>
                  
                  using namespace std;
                  
                  int main(void)
                  {
                      int m, b;
                  
                      cin >> m;
                  
                      b = m * 1024 * 1024;
                  
                      cout << b / 4;
                  
                      return 0;
                  }
                  
                  • 0
                    @ 2022-10-30 21:07:55
                    #include <bits/stdc++.h>
                    
                    using namespace std;
                    
                    int main(void)
                    {
                        int m, b;
                    
                        cin >> m;
                    
                        b = m * 1024 * 1024;
                    
                        cout << b / 4;
                    
                        return 0;
                    }
                    
                    • -1
                      @ 2023-1-23 15:50:47
                      #include <bits/stdc++.h>
                      using namespace std;
                      int main(void){
                          int n;
                          cin>>n;
                          cout<<n*1024*1024/4;
                          return 0;
                      }
                      
                      
                      • -1
                        @ 2023-1-2 14:29:05
                        #include
                        using namespace std;
                        int main(){
                            int m,b;
                        	cin>>m;
                        	b=m*1024*1024/4;
                            cout<<b;
                        }
                        
                        • -4
                          @ 2022-8-29 16:07:02
                          #include<stdio.h>
                          #include<iostream>
                          using namespace std;
                          int main()
                          {
                              int n;
                          	cin>>n;
                          	int a=n*1024*1024/4;
                          	cout<<a<<endl;	
                          }
                          
                          • -5
                            @ 2022-7-1 12:07:11
                            #include<bits/stdc++.h>
                            using namespace std;
                            int main(){
                            	int n;
                            	cin>>n;
                            	cout<<(n*1024*1024)/4;
                            	return 0;
                            }
                            
                            • 1

                            信息

                            ID
                            817
                            时间
                            1000ms
                            内存
                            256MiB
                            难度
                            2
                            标签
                            递交数
                            448
                            已通过
                            282
                            上传者