3 条题解

  • 2
    @ 2022-10-25 17:57:01
    #include <iostream>
    #include <stack>
    #include <cmath>
    #include <vector>
    #include <string.h>
    #include <queue>
    #include <stdio.h>
    #include <iomanip>
    #include <cstdio>
    #include <algorithm>
    #define int long long
    using namespace std;
    const int N = 1e5 + 10;
    const int INF = 0x3f3f3f3f;
    signed main()
    {
    	int a, b;
    	while(cin >> a >> b)
    	{
    		cout << a + b << endl;
    	}
    	return 0;
    }
    

    好多a+b

    • 0
      @ 2022-7-10 9:26:11

      #include <stdio.h> #include <iostream> using namespace std; int main() { int n , sum ; cin >> n; for (int i = 1 ; i <= n ; i++) { if (i%7 == 0) continue; int k = i; while (k) { if (k%10 ==7) break; k /= 10; } if (!k) sum +=i*i; } cout << sum << endl; }

      • 0
        @ 2022-3-27 19:38:30

        #include<iostream>

        using namespace std;

        int main() {

        int n=1,a,b;

        while(cin>>a>>b){

        cout<<a+b<<endl<<" "<<endl;

        }

        }

        • 1

        信息

        ID
        989
        时间
        1000ms
        内存
        32MiB
        难度
        2
        标签
        递交数
        212
        已通过
        127
        上传者