有多组数据计算时,要注意将用于计算的数组清空,所用函数为
memset(a, 0, sizeof(a))
memset(数组名,赋值,sizeof(数组名))
这样就可以将a数组里的所有数设置为0
RunID | User | Nick Name | Problem ID | Result | Memory | Time | Language | Code Length | Submit Time |
77664 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2140 KiB | 0 ms | C++ | 644 bytes | 2023-04-02 13:48:50 | |
77663 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2140 KiB | 0 ms | C++ | 644 bytes | 2023-04-02 13:45:29 | |
77662 | jzlb_xyx | 谢宇轩 | Runtime Error | 2036 KiB | 0 ms | C++ | 640 bytes | 2023-04-02 13:43:36 | |
77655 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2036 KiB | 0 ms | C++ | 677 bytes | 2023-04-02 13:29:59 | |
77653 | jzlb_xyx | 谢宇轩 | Compile Error | 0 KiB | 0 ms | C++ | 669 bytes | 2023-04-02 13:29:06 | |
77652 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2036 KiB | 0 ms | C++ | 645 bytes | 2023-04-02 13:26:40 | |
77651 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2036 KiB | 0 ms | C++ | 639 bytes | 2023-04-02 13:24:30 | |
77650 | jzlb_xyx | 谢宇轩 | Runtime Error | 2036 KiB | 0 ms | C++ | 642 bytes | 2023-04-02 13:18:14 | |
77503 | jzlb_xyx | 谢宇轩 | Runtime Error | 2036 KiB | 0 ms | C++ | 642 bytes | 2023-03-31 22:51:17 | |
77502 | jzlb_xyx | 谢宇轩 | Runtime Error | 2036 KiB | 0 ms | C++ | 611 bytes | 2023-03-31 22:46:00 | |
77501 | jzlb_xyx | 谢宇轩 | Runtime Error | 2036 KiB | 0 ms | C++ | 611 bytes | 2023-03-31 22:44:49 | |
77498 | jzlb_xyx | 谢宇轩 | Wrong Answer | 2036 KiB | 0 ms | C++ | 585 bytes | 2023-03-31 22:19:22 | |
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 |