随笔分类 -  C++语法

摘要:题目链接:http://codeforces.com/contest/71/problem/A Sometimes some words like "localization" or "internationalization" are so long that writing them many 阅读全文
posted @ 2020-07-23 17:35 gdgzliu 阅读(198) 评论(0) 推荐(0)
摘要:A: Distance Write a program which calculates the distance between two points P1(x1, y1) and P2(x2, y2). Input Four real numbers x1, y1, x2 and y2 are 阅读全文
posted @ 2019-11-19 23:26 gdgzliu 阅读(755) 评论(0) 推荐(0)
摘要:A: Finding a Word Write a program which reads a word W and a text T, and prints the number of word W which appears in text T T consists of string Ti s 阅读全文
posted @ 2019-11-19 17:46 gdgzliu 阅读(838) 评论(0) 推荐(0)
摘要:A: Toggling Cases Write a program which converts uppercase/lowercase letters to lowercase/uppercase for a given string. Input A string is given in a l 阅读全文
posted @ 2019-11-19 14:59 gdgzliu 阅读(1208) 评论(0) 推荐(0)