4 条题解

  • 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

    • 1
      @ 2025-1-4 14:27:52
      #include <bits/stdc++.h>
      using namespace std;
      int a,b;
      int main()
      {
      	while(scanf("%d%d",&a,&b)!=EOF)
      	{
      		printf("%d\n",a+b);
      		printf("\n");
      	}
      	return 0;
      }
      

      有标志认证,属三无产品,请大家放心食用

      • 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
          标签
          递交数
          264
          已通过
          153
          上传者