文件操作练习。注意B题的读取不能用struct。
D和谐词汇的题, 输入是若干字符串,不以空行结束. 所以 gets(line); while (line[0]){... gets(line);}就会导致时间超限,代码在等空行,但in数据没有。应改为while(gets(line))。
RunID | User | Nick Name | Problem ID | Result | Memory | Time | Language | Code Length | Submit Time |
386738 | 2024211327 | Fantasist | *Accepted244361 | 1196KB | 9ms | C | 1961 bytes | 2025-03-29 10:16:46 | |
386725 | 2024211327 | Fantasist | Accepted | 1192KB | 11ms | C | 1866 bytes | 2025-03-29 09:22:08 | |
386724 | 2024211327 | Fantasist | Wrong Answer | 1192KB | 10ms | C | 1833 bytes | 2025-03-29 09:21:03 | |
386645 | 2024211327 | Fantasist | Wrong Answer | 1192KB | 14ms | C | 1821 bytes | 2025-03-28 23:19:42 |