我无意之间看到这个,哇,价值一个亿。难道我也要凭亿近人,多财多亿?
然而并没有,ahhhh
import java.util.Scanner; public class AiMain { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String str; while (true) { str = sc.next(); str = str.replace("吗", ""); str = str.replace("?", "!"); str = str.replace("? ", "! "); System.out.println(str); } } }
emmmm。。。稍微的看了一下,了解一下代码,还是比较简单的,np !
这样想想真的有点np!!!