2 条题解

  • 1
    @ 2024-4-19 21:07:09

    不信你试试

    print('''0101001101001011
    0100101011
    000010101101010110111111001101111011100001111111
    01100101100000
    0101010111010110001001
    010001101110110100010000101001000100001100011111
    101000011011010001100111000000000010000111010111
    010011101010100101
    001100101110001111101011000100100001100110010010
    101111010011101100100011010111110001
    0000011001
    110101100110010010011011
    000101110100000111001000100011010011101111001011
    111110010100100000111111
    1100000000111001011100001110
    11101011101110
    0001001111
    0110101110
    00010111101100110011
    010101100101101101000110010100
    11010101110010
    10100101101111
    0101110101010100
    1001011011101101
    0101101110001110001101010001010010
    110010110011000111101100011001
    0100001011100101101001111110
    001101111000001110110101000001110100
    011110000000
    010100
    01010010000010111011000010101101100011011000
    110011011001000101001100
    101100111000000000111101111001
    00001000000011111100101101101101000010011110101000
    0111010000101000001001000101000100
    01101001010110110001111111000111000001110100
    10
    101101111100011011111101110011100101110010
    000011110110001000010101000110
    11111101011000110001010100001111
    01000011101100000001000000111011110111011111101010
    10111100010010100111010000110100100011011101111101
    01100000011101011111101011000000101101100101
    0001101010010011111011000010101101
    110001101001001001011000010101101100111000001000
    1110110010011111001001100010011011101100001100
    101110011011101101011001100010011010001101001000
    101100111111110110111001011101
    0000110100000111100111010011110010110101
    0110000101101000101000111011
    00001100011011
    0010110111100010001110010110101110101101000000
    1111001111110000101100011111110001011000
    011001001011001010000011110110110000
    1011011000001000010101100100011010010111101100
    01010110
    10010010011010
    011010
    00110000000101101110010101101011
    011001010010110110101010011100
    010111110101000100000001100100110101
    0001010010
    01111001100011100010000000
    1110010001
    110101111011010010000001100000110100011010000110
    10
    11100101011101001001001000101110011100
    001110100111
    01110011
    0101110110
    101000111100
    000100010111010001101000000101000100000001
    1100010110111100111001011101110001101101
    000011
    000100111110
    101000001110100010100010110011100110111100110010
    01001100111100010011011001
    1001111000011011110111111001001011110010
    01000101110000011111100010
    001101110101000000101000010010
    001011001100011010010010001000101011
    00110100011011011111110111111110
    10101101
    011101000011100100010101001010
    0010000101000111011011
    0000100011100001000110100010
    1000
    00111100011010111111100001001110110010100001010111
    0001
    0011110100110011111001100001110011010100
    1110
    011001111001011011010001111101001000100110001000
    0110
    1000011011
    00
    101110101010100101111010000111011001
    1001011011110110001101101101
    0011110011000111001101001011001001000000
    1001
    0011010011100101110101011001110111110101
    ''')
    
    • 0
      @ 2023-12-3 18:32:18

      已WA,放心食用

      #include <bits/stdc++.h> 
      using namespace std;
      int main()
      {
          int n;
          cin >> n;
          string s;
          for(int i = 1; i <= n; i++)
          {
              cin >> s;
              for(int i = 1; i < s.length(); i += 2)
              {
                  swap(s[i], s[i - 1]);
              }
              cout << s << endl;
          }
          return 0;
      }
      
      • 1

      信息

      ID
      1007
      时间
      1000ms
      内存
      32MiB
      难度
      5
      标签
      递交数
      28
      已通过
      15
      上传者