文件操作练习。注意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 |
272713 | 2019211248 | 行行日远 | *Accepted138979 | 1200KB | 11ms | C | 3125 bytes | 2024-05-12 23:25:32 | |
272712 | 2019211248 | 行行日远 | *Accepted97993 | 1068KB | 10ms | C | 1404 bytes | 2024-05-12 23:24:26 | |
272711 | 2019211248 | 行行日远 | *Accepted246066 | 1192KB | 12ms | C | 2297 bytes | 2024-05-12 23:24:07 | |
272710 | 2019211248 | 行行日远 | *Accepted101445 | 1192KB | 10ms | C | 1754 bytes | 2024-05-12 23:23:44 | |
272709 | 2019211248 | 行行日远 | Wrong Answer | 1192KB | 11ms | C | 2792 bytes | 2024-05-12 23:23:14 |