TopK Sergey Svistunov

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.

Back to listNov 26, 2024 10:36NoSIMD_C#NoSIMD_C#Score: 277,273Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 26, 2024 10:36276,208128,499,24757,110,00045,087,0002,297,856
2Nov 26, 2024 08:13276,324127,796,55653,125,00049,115,0002,306,048
3Nov 26, 2024 10:36276,462132,041,24956,160,00046,131,0002,297,856
4Nov 26, 2024 08:13276,643127,733,79658,204,00044,154,0002,539,520
5Nov 26, 2024 08:13276,841128,969,81653,224,00049,207,0002,297,856
6Nov 26, 2024 10:36277,070133,453,42257,288,00045,228,0002,539,520
7Nov 26, 2024 10:36277,089129,484,38963,323,00039,200,0002,297,856
8Nov 26, 2024 08:13277,130131,626,78158,306,00044,232,0002,539,520
9Nov 26, 2024 08:13277,138135,705,96758,308,00044,233,0002,293,760
10Nov 26, 2024 10:36277,273130,081,56459,342,00043,249,0002,539,520
11Nov 26, 2024 08:13277,805128,359,14954,887,00047,901,0002,297,856
12Nov 26, 2024 08:13277,816128,128,69558,881,00043,911,0002,297,856
13Nov 26, 2024 08:13277,914131,385,68456,905,00045,923,0002,539,520
14Nov 26, 2024 10:36278,038131,266,72358,928,00043,946,0002,293,760
15Nov 26, 2024 10:36278,446133,247,35257,014,00046,011,0002,297,856
16Nov 26, 2024 08:13278,981131,146,40959,128,00044,095,0002,539,520
17Nov 26, 2024 10:36279,305128,134,48455,183,00048,160,0002,539,520
18Nov 26, 2024 10:36280,086130,261,50657,350,00046,282,0002,539,520