3 条题解

  • 0
    @ 2024-9-15 9:56:37

    ``

    #include <iostream>
    using namespace std;
    int main(){
    	int a;
        cin>>a;
        if (a==1){
            cout<<"0";
        }else{
            cout<<"1";
        }
    }
    
    • 0
      @ 2024-7-20 12:01:33
      #include <bits/stdc++.h>
      #include <iostream>
      #include <iomanip>
      #include <ios>
      #include <iosfwd>
      #include <istream>
      #include <ostream>
      #include <cstring>
      #include <cstdio>
      #include <stdio.h>
      #include <string.h>
      #include <assert.h>
      #include <ctype.h>
      #include <errno.h>
      #include <float.h>
      #include <limits.h>
      #include <locale.h>
      #include <math.h>
      #include <stdlib.h>
      #include <time.h>
      #include <wchar.h>
      #include <wctype.h>
      #include <complex.h>
      #include <fenv.h>
      #include <inttypes.h>
      #include <stdbool.h>
      #include <stdint.h>
      #include <tgmath.h>
      #include <vector>
      #include <algorithm>
      #include <cmath>
      #include <algorithm>
      #include <bitset>
      #include <cctype>
      #include <cerrno>
      #include <clocale>
      #include <cmath>
      #include <complex>
      #include <cstdlib>
      #include <ctime>
      #include <deque>
      #include <exception>
      #include <fstream>
      #include <functional>
      #include <limits>
      #include <list>
      #include <map>
      #include <queue>
      #include <set>
      #include <sstream>
      #include <stack>
      #include <stdexcept>
      #include <streambuf>
      #include <string>
      #include <utility>
      #include <vector>
      #include <cwchar>
      #include <cwctype>
      using namespace std;
      int main(){
          int a;
          cin>>a;
          if(a==1)
              cout<<0;
          else if(a==0)
              cout<<1; 
          return 0;
      }
      
      • 0
        @ 2024-4-21 17:17:01

        #include<bits/stdc++.h> using namespace std; int main() { int a; cin>>a; if(a1)cout<<0; else if(a0)cout<<1; return 0; }

        • 1

        信息

        ID
        616
        时间
        1000ms
        内存
        64MiB
        难度
        1
        标签
        递交数
        66
        已通过
        45
        上传者