5 条题解

  • 1
    @ 2025-5-25 8:48:26

    有点意思。

    可以用const常量来解

    #include<bits/stdc++.h>
    using namespace std;
    const int sz=10000; 
    int main()
    {
    	int x;
    	cin>>x;
    	cout<<sz-x;
    	return 0;
    } 
    
    • 0
      @ 2025-8-8 10:24:49

      太水了啊

      直接输出 10000n10000-n

      #include<iostream>
      #define QwQ return 0;
      using namespace std;
      int n;
      int main(){
      	cin>>n;
      	cout<<10000-n;
      	QwQ
      }
      
      
      • 0
        @ 2024-12-29 10:35:56
        #include<bits/stdc++.h>
        using namespace std;
        signed main(){
        	int n;
        	cin>>n;
        	cout<<10000-n;
        }
        
        • 0
          @ 2024-12-28 16:08:00

          有点简单了哈。直接输出 10000n10000-n 的值。

          #include<bits/stdc++.h>
          #define int long long
          #define INF 0x3f3f3f
          using namespace std;
          int n;
          signed main(){
          	cin>>n;
          	cout<<10000-n;
          	return 0;
          }
          
          • 0
            @ 2024-12-28 11:43:59

            water problem!!!

            #include<bits/stdc++.h>
            using namespace std;
            int main()
            {
            	int n;
            	cin>>n;
            	cout<<10000-n;
            	return 0;
            }
            
            • 1

            信息

            ID
            34
            时间
            1000ms
            内存
            128MiB
            难度
            5
            标签
            递交数
            342
            已通过
            127
            上传者