有多组数据计算时,要注意将用于计算的数组清空,所用函数为
memset(a, 0, sizeof(a))
memset(数组名,赋值,sizeof(数组名))
这样就可以将a数组里的所有数设置为0
RunID | User | Nick Name | Problem ID | Result | Memory | Time | Language | Code Length | Submit Time |
77593 | jzlb_txy | Coco is coo! | Wrong Answer | 3268 KiB | 0 ms | C++ | 2623 bytes | 2023-04-01 23:31:32 | |
77592 | jzlb_txy | Coco is coo! | Wrong Answer | 3268 KiB | 0 ms | C++ | 2623 bytes | 2023-04-01 22:47:40 | |
77590 | jzlb_txy | Coco is coo! | Wrong Answer | 3268 KiB | 0 ms | C++ | 585 bytes | 2023-04-01 22:46:08 | |
77586 | jzlb_txy | Coco is coo! | Accepted | 3268 KiB | 0 ms | C++ | 912 bytes | 2023-04-01 22:19:23 | |
77585 | jzlb_txy | Coco is coo! | Compile Error | 0 KiB | 0 ms | C++ | 907 bytes | 2023-04-01 22:18:55 | |
77579 | jzlb_txy | Coco is coo! | Runtime Error | 2140 KiB | 0 ms | C++ | 907 bytes | 2023-04-01 21:47:59 | |
77578 | jzlb_txy | Coco is coo! | Compile Error | 0 KiB | 0 ms | C++ | 902 bytes | 2023-04-01 21:47:23 | |
77577 | jzlb_txy | Coco is coo! | Runtime Error | 2024 KiB | 0 ms | C++ | 2042 bytes | 2023-04-01 21:35:34 | |
77575 | jzlb_txy | Coco is coo! | Runtime Error | 2024 KiB | 0 ms | C++ | 901 bytes | 2023-04-01 21:30:45 | |
77464 | jzlb_txy | Coco is coo! | Wrong Answer | 2024 KiB | 0 ms | C++ | 586 bytes | 2023-03-30 22:34:04 | |
77463 | jzlb_txy | Coco is coo! | Compile Error | 0 KiB | 0 ms | C++ | 581 bytes | 2023-03-30 22:32:23 | |
77457 | jzlb_txy | Coco is coo! | Compile Error | 0 KiB | 0 ms | C++ | 581 bytes | 2023-03-30 22:05:30 | |
77454 | jzlb_txy | Coco is coo! | Compile Error | 0 KiB | 0 ms | C++ | 894 bytes | 2023-03-30 21:56:30 | |
77451 | jzlb_txy | Coco is coo! | Compile Error | 0 KiB | 0 ms | C++ | 892 bytes | 2023-03-30 21:50:51 | |
77446 | jzlb_txy | Coco is coo! | Runtime Error | 2024 KiB | 0 ms | C++ | 750 bytes | 2023-03-30 21:38:09 |