文件操作练习。注意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 |
389441 | 2024211333 | chair | Accepted | 1196KB | 11ms | C | 1746 bytes | 2025-04-02 13:05:41 | |
389438 | 2024211333 | chair | Wrong Answer | 1196KB | 10ms | C | 2407 bytes | 2025-04-02 13:01:59 | |
389437 | 2024211333 | chair | Wrong Answer | 1196KB | 11ms | C | 1741 bytes | 2025-04-02 13:01:01 | |
389436 | 2024211333 | chair | Runtime Error | 1196KB | 5ms | C | 1741 bytes | 2025-04-02 13:00:29 | |
389434 | 2024211333 | chair | Wrong Answer | 1196KB | 12ms | C | 2407 bytes | 2025-04-02 12:59:29 | |
389431 | 2024211333 | chair | Output Limit Exceed | 1196KB | 22ms | C | 1785 bytes | 2025-04-02 12:57:53 | |
389430 | 2024211333 | chair | Runtime Error | 1196KB | 5ms | C | 1785 bytes | 2025-04-02 12:55:02 | |
387928 | 2024211333 | chair | Runtime Error | 1196KB | 6ms | C | 1737 bytes | 2025-03-30 23:22:32 | |
387926 | 2024211333 | chair | Runtime Error | 1196KB | 4ms | C | 1734 bytes | 2025-03-30 23:16:12 |