有多组数据计算时,要注意将用于计算的数组清空,所用函数为
memset(a, 0, sizeof(a))
memset(数组名,赋值,sizeof(数组名))
这样就可以将a数组里的所有数设置为0
RunID | User | Nick Name | Problem ID | Result | Memory | Time | Language | Code Length | Submit Time |
77103 | jzlb_gcx | 顾辰曦 | Accepted | 2040 KiB | 0 ms | C++ | 604 bytes | 2023-03-28 21:34:00 | |
77102 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2040 KiB | 0 ms | C++ | 590 bytes | 2023-03-28 21:26:37 | |
77101 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2040 KiB | 0 ms | C++ | 590 bytes | 2023-03-28 21:15:54 | |
77097 | jzlb_gcx | 顾辰曦 | Accepted | 2140 KiB | 0 ms | C++ | 1979 bytes | 2023-03-28 21:05:52 | |
77096 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2040 KiB | 0 ms | C++ | 611 bytes | 2023-03-28 20:55:32 | |
77095 | jzlb_gcx | 顾辰曦 | Wrong Answer | 2032 KiB | 0 ms | C++ | 581 bytes | 2023-03-28 20:51:49 | |
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 | |
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 |