题解 | 密码验证

密码验证

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;
}


全部评论

相关推荐

评论
点赞
收藏
分享

创作者周榜

更多
牛客网
牛客网在线编程
牛客网题解
牛客企业服务