题解 | 密码验证
密码验证
https://www.nowcoder.com/practice/895b3b552d80485cb5e426a0ebf9a251
#include <stdio.h>
#include <string.h>
int main()
{
char str1[20] = {0};
char str2[20] = {0};
scanf("%s %s", str1, str2);
if (strcmp(str1, str2) == 0)
printf("same\n");
else
printf("different\n");
return 0;
}

360集团公司氛围 422人发布