mirror of
https://github.com/Kiritow/OJ-Problems-Source.git
synced 2024-03-22 13:11:29 +08:00
46c0830804
2900-2999
18 lines
308 B
C++
18 lines
308 B
C++
#include <cstdio>
|
|
#include <cstring>
|
|
#include <iostream>
|
|
using namespace std;
|
|
char s1[1000],s2[1000];
|
|
int T;
|
|
int main()
|
|
{
|
|
scanf("%d",&T);
|
|
while(T--)
|
|
{
|
|
scanf("%s%s",s1,s2);
|
|
if(strcmp(s1,s2) == 0) puts("OK");
|
|
else puts("ERROR");
|
|
}
|
|
return 0;
|
|
}
|