题解 | 密码验证
密码验证
https://www.nowcoder.com/practice/895b3b552d80485cb5e426a0ebf9a251
#include <stdio.h>
#include <string.h>
int main()
{
char secret1[100];
char secret2[100];
while (scanf("%s %s", secret1, secret2) == 2)
{
if (strcmp(secret1, secret2) == 0)
printf("same\n");
else
printf("different\n");
}
return 0;
}
OPPO公司福利 1225人发布