3 条题解

  • 2
    @ 2023-8-20 17:10:31
    #include<iostream>
    #include<cstdio>	
    #include<string>			
    using namespace std;
    int main(){ 
        double n,x,a,s;
        cin>>n>>x;
        a=n*87+x*85;
        s=a/(n+x);
        cout<<s<<endl;
       	return 0;
    }
    
    • 2
      @ 2023-8-20 10:53:22

      freopen("title.in","r",stdin); freopen("title.out","w",stdout); string s; int ans = 0; while (cin >> s) ans += s.length(); cout << ans << endl;

      • 2
        @ 2023-7-4 15:06:52
        #include<iostream> // 流输入输出 ,cin cout 
        using namespace std; //命名空间 
        int main(){ // 主函数 
            cout<<"你好,世界。"<<endl;
        	return 0; // 返回值 
        }
        
        • 1

        信息

        ID
        113
        时间
        1000ms
        内存
        64MiB
        难度
        7
        标签
        递交数
        129
        已通过
        26
        上传者