有多组数据计算时,要注意将用于计算的数组清空,所用函数为
memset(a, 0, sizeof(a))
memset(数组名,赋值,sizeof(数组名))
这样就可以将a数组里的所有数设置为0
RunID | User | Nick Name | Problem ID | Result | Memory | Time | Language | Code Length | Submit Time |
77094 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2032 KiB | 0 ms | C++ | 531 bytes | 2023-03-28 20:44:08 | |
77093 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2032 KiB | 0 ms | C++ | 528 bytes | 2023-03-28 20:41:19 | |
76857 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2036 KiB | 0 ms | C++ | 588 bytes | 2023-03-27 20:08:50 | |
76856 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2024 KiB | 0 ms | C++ | 583 bytes | 2023-03-27 20:07:50 | |
76853 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2024 KiB | 0 ms | C++ | 583 bytes | 2023-03-27 20:03:24 | |
76679 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2256 KiB | 0 ms | C++ | 628 bytes | 2023-03-26 20:55:31 | |
76678 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2256 KiB | 0 ms | C++ | 626 bytes | 2023-03-26 20:54:39 |