QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#321575#3348. Communication ChannelsSkyanAC ✓1ms3592kbC++14267b2024-02-04 23:10:482024-02-04 23:10:49

Judging History

你现在查看的是最新测评结果

  • [2024-02-04 23:10:49]
  • 评测
  • 测评结果:AC
  • 用时:1ms
  • 内存:3592kb
  • [2024-02-04 23:10:48]
  • 提交

answer

#include <iostream>
using namespace std;
int main() {
    int t;
    cin >> t;
    for (int jj = 0; jj < t; jj++) {
        string a, b;
        cin >> a >> b;
        if (a == b) cout << "OK";
        else cout << "ERROR";
        cout << '\n';
    }
}

Details

Tip: Click on the bar to expand more detailed information

Test #1:

score: 100
Accepted
time: 1ms
memory: 3592kb

input:

100
1 01
011101000011110110101001110010110111111001111100100000110101010101100001010110000110111000001 011101000011111110101001110010110111111001111100100000110101010101100101010110000110111000001
000001111001001110101001110001010011111010011000010100010101010011100101110111000111100110001000111101 ...

output:

ERROR
ERROR
ERROR
OK
OK
OK
ERROR
OK
ERROR
OK
OK
OK
OK
ERROR
OK
OK
OK
ERROR
OK
OK
OK
OK
ERROR
OK
OK
OK
ERROR
OK
OK
OK
OK
ERROR
OK
ERROR
ERROR
OK
OK
OK
ERROR
OK
ERROR
OK
ERROR
OK
ERROR
OK
OK
OK
OK
ERROR
ERROR
OK
ERROR
OK
OK
ERROR
OK
OK
OK
OK
ERROR
ERROR
ERROR
ERROR
OK
OK
OK
OK
ERROR
ERROR
ERROR
OK
ERR...

result:

ok 100 lines