TopK 
Find the sum of the 100 largest values in a stream of binary integers as fast as possible.
Input: 100 000 000 uint32 values in little-endian binary on STDIN (4 bytes each).
Output: The uint64 sum of the top 100 greatest values, printed as a decimal string.
| Date | Author | Language | Status | Score | |
|---|---|---|---|---|---|
| Sep 15, 2021 17:59 | CPPclang++10.0.0 | Success | 61,522 | ||
| Sep 15, 2021 17:57 | CPPclang++10.0.0 | Error | |||
| Sep 15, 2021 17:57 | CPPclang++10.0.0 | Success | 61,486 | ||
| Sep 15, 2021 17:56 | CPPclang++10.0.0 | Error | |||
| Sep 15, 2021 17:56 | CPPclang++10.0.0 | Success | 61,489 | ||
| Sep 15, 2021 17:54 | CPPclang++10.0.0 | Success | 61,549 | ||
| Sep 15, 2021 17:54 | CPPclang++10.0.0 | Success | 61,541 | ||
| Sep 15, 2021 17:52 | CPPclang++10.0.0 | Success | 61,530 | ||
| Sep 15, 2021 17:48 | CPPclang++10.0.0 | Success | 73,897 | ||
| Sep 15, 2021 17:44 | CPPclang++10.0.0 | Success | 73,124+1.06 RP | ||
| Sep 15, 2021 17:40 | CPPclang++10.0.0 | Success | 73,727 | ||
| Sep 15, 2021 17:39 | CPPclang++10.0.0 | Success | 73,695+0.22 RP | ||
| Sep 15, 2021 17:38 | CPPclang++10.0.0 | Success | 73,816+8.69 RP | ||
| Sep 15, 2021 17:37 | CPPclang++10.0.0 | Success | 78,876+5.44 RP | ||
| Sep 15, 2021 17:34 | CPPclang++10.0.0 | Success | 82,411+1.68 RP | ||
| Sep 15, 2021 17:34 | CPPclang++10.0.0 | Success | 108,030 | ||
| Sep 15, 2021 17:33 | CPPclang++10.0.0 | Success | 83,568+0.66 RP | ||
| Sep 15, 2021 17:30 | CPPclang++10.0.0 | Success | 88,954 | ||
| Sep 15, 2021 17:28 | CPPg++9.3.0 | Success | 84,035+4.67 RP | ||
| Sep 15, 2021 17:27 | CPPg++9.3.0 | Success | 87,468+21.93 RP | ||
| Sep 15, 2021 16:58 | CPPg++9.3.0 | Success | 141,447 | ||
| Sep 15, 2021 16:57 | CPPg++9.3.0 | Success | 143,373 | ||
| Sep 15, 2021 16:55 | CPPg++9.3.0 | Error | |||
| Sep 15, 2021 16:53 | CPPg++9.3.0 | Error | |||
| Sep 15, 2021 16:05 | CPPg++9.3.0 | Success | 108,527 | ||
| Sep 15, 2021 16:04 | CPPg++9.3.0 | Success | 109,589 | ||
| Sep 15, 2021 16:02 | CPPg++9.3.0 | Success | 108,224+0.45 RP | ||
| Sep 15, 2021 16:02 | CPPg++9.3.0 | Success | 122,525 | ||
| Sep 15, 2021 15:53 | CPPg++9.3.0 | Success | 108,408+0.48 RP | ||
| Sep 15, 2021 15:35 | CPPg++9.3.0 | Success | 109,892 | ||
| Sep 15, 2021 15:35 | CPPg++9.3.0 | Success | 108,978+0.23 RP | ||
| Sep 15, 2021 15:34 | CPPg++9.3.0 | Success | 109,908 | ||
| Sep 15, 2021 15:30 | CPPg++9.3.0 | Success | 109,624 | ||
| Sep 15, 2021 15:27 | CPPg++9.3.0 | Success | 109,478 | ||
| Sep 15, 2021 15:26 | CPPg++9.3.0 | Success | 109,251+88.57 RP | ||
| Sep 15, 2021 15:24 | CPPg++9.3.0 | Error | |||
| Sep 14, 2021 13:00 | CPPg++9.3.0 | Error | |||
| Sep 14, 2021 12:59 | CPPg++9.3.0 | Error | |||
| Sep 14, 2021 12:59 | CPPg++9.3.0 | Error | |||
| Sep 14, 2021 12:57 | CPPg++9.3.0 | Error | |||
| Sep 14, 2021 12:53 | CPPg++9.3.0 | Success | 3,370,380+2.50 RP | ||
| Sep 14, 2021 12:40 | CPPg++9.3.0 | Success | 21,548,781 | ||
| Sep 14, 2021 12:40 | CPPg++9.3.0 | Success | 22,090,911 | ||
| Sep 14, 2021 12:36 | CPPg++9.3.0 | Error | |||
| Sep 14, 2021 12:32 | CPPg++9.3.0 | Success | 21,750,240 | ||
| Sep 14, 2021 12:31 | CPPg++9.3.0 | Success | 21,275,295+0.47 RP | ||
| Sep 12, 2021 22:03 | CPPg++9.3.0 | Success | 122,392 | ||
| Sep 12, 2021 22:02 | CPPg++9.3.0 | Success | 108,827 | ||
| Sep 12, 2021 22:01 | CPPg++9.3.0 | Success | 108,751+3.46 RP | ||
| Sep 12, 2021 22:00 | CPPg++9.3.0 | Success | 113,005+8.79 RP | ||
| Sep 12, 2021 21:59 | CPPg++9.3.0 | Success | 125,469+20.02 RP | ||
| Sep 12, 2021 21:40 | CPPg++9.3.0 | Success | 167,550+5.45 RP | ||
| Sep 12, 2021 21:38 | CPPg++9.3.0 | Success | 184,383+26.33 RP | ||
| Sep 12, 2021 21:37 | CPPg++9.3.0 | Success | 358,314+11.14 RP | ||
| Sep 12, 2021 21:36 | CPPg++9.3.0 | Success | 596,376+16.23 RP | ||
| Sep 12, 2021 21:29 | CPPg++9.3.0 | Success | 18,695,508+0.53 RP | ||
| Sep 12, 2021 21:27 | CPPg++9.3.0 | Error | |||
| Sep 12, 2021 21:21 | CPPg++9.3.0 | Error | |||
| Sep 11, 2021 19:26 | RUSTrust-1.54.0 | Success | 86,954 | ||
| Sep 11, 2021 19:16 | RUSTrust-1.54.0 | Error | |||
| Sep 11, 2021 19:11 | RUSTrust-1.54.0 | Success | 71,862 | ||
| Sep 11, 2021 18:47 | RUSTrust-1.54.0 | Success | 71,651 | ||
| Sep 11, 2021 18:33 | RUSTrust-1.54.0 | Success | 71,573 | ||
| Sep 11, 2021 18:26 | RUSTrust-1.54.0 | Success | 71,516+1.30 RP | ||
| Sep 11, 2021 18:18 | RUSTrust-1.54.0 | Success | 76,297 | ||
| Sep 11, 2021 17:54 | RUSTrust-1.54.0 | Success | 71,854 | ||
| Sep 11, 2021 17:53 | RUSTrust-1.54.0 | Error | |||
| Sep 11, 2021 17:51 | RUSTrust-1.54.0 | Success | 71,849+41.58 RP | ||
| Sep 11, 2021 11:21 | CPPg++9.3.0 | Error | |||
| Sep 11, 2021 11:15 | CPPg++9.3.0 | Error | |||
| Sep 11, 2021 08:07 | GOgo1.14.15 | Success | 86,111 | ||
| Sep 11, 2021 08:06 | GOgo1.17.1 | Success | 90,856 | ||
| Sep 11, 2021 08:06 | GOgo1.17.1 | Success | 88,849 | ||
| Sep 11, 2021 08:05 | GOgo1.14.15 | Success | 86,097 | ||
| Sep 11, 2021 08:04 | GOgo1.14.15 | Success | 89,058 | ||
| Sep 11, 2021 08:03 | GOgo1.14.15 | Success | 86,181 | ||
| Sep 11, 2021 08:03 | GOgo1.14.15 | Error | |||
| Sep 11, 2021 08:02 | GOgo1.14.15 | Error | |||
| Sep 11, 2021 07:58 | RUSTrust-1.54.0 | Success | 84,465+28.76 RP | ||
| Sep 11, 2021 07:57 | RUSTrust-1.54.0 | Success | 98,216 | ||
| Sep 11, 2021 07:26 | RUSTrust-1.54.0 | Error | |||
| Sep 11, 2021 07:26 | RUSTrust-1.54.0 | Error | |||
| Sep 11, 2021 07:25 | RUSTrust-1.54.0 | Error | |||
| Sep 11, 2021 07:23 | RUSTrust-1.54.0 | Success | 98,162 | ||
| Sep 11, 2021 07:22 | RUSTrust-1.54.0 | Success | 96,146+1.66 RP | ||
| Sep 11, 2021 07:21 | RUSTrust-1.54.0 | Success | 96,965 | ||
| Sep 11, 2021 07:16 | RUSTrust-1.54.0 | Success | 96,924+2.14 RP | ||
| Sep 11, 2021 07:11 | RUSTrust-1.54.0 | Success | 97,935+7.90 RP | ||
| Sep 11, 2021 07:11 | RUSTrust-1.54.0 | Success | 137,308 | ||
| Sep 11, 2021 07:10 | RUSTrust-1.54.0 | Success | 136,985 | ||
| Sep 11, 2021 07:07 | RUSTrust-1.54.0 | Success | 141,791 | ||
| Sep 11, 2021 07:06 | RUSTrust-1.54.0 | Success | 147,772 | ||
| Sep 11, 2021 07:01 | RUSTrust-1.54.0 | Success | 156,876 | ||
| Sep 11, 2021 07:01 | RUSTrust-1.54.0 | Error | |||
| Sep 11, 2021 06:58 | RUSTrust-1.54.0 | Success | 101,873+5.02 RP | ||
| Sep 11, 2021 06:57 | RUSTrust-1.54.0 | Success | 132,873 | ||
| Sep 11, 2021 06:56 | RUSTrust-1.54.0 | Success | 164,735 | ||
| Sep 11, 2021 06:55 | RUSTrust-1.54.0 | Success | 274,884 | ||
| Sep 11, 2021 05:42 | RUSTrust-1.54.0 | Success | 113,897 | ||
| Sep 10, 2021 19:00 | RUSTrust-1.54.0 | Success | 104,578 |