Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listJan 26, 2024 00:43Franek KortaFranek KortaScore: 4,540Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 26, 2024 00:434,52239,273,03014,471,00002,453,504
2Jan 26, 2024 00:434,52333,045,23814,472,00002,445,312
3Jan 26, 2024 00:434,53027,381,54114,495,00002,441,216
4Jan 26, 2024 00:434,53830,557,05214,522,00002,445,312
5Jan 26, 2024 00:434,54029,689,32914,527,00002,281,472
6Jan 26, 2024 00:434,54035,185,95314,527,00002,269,184
7Jan 26, 2024 00:434,54029,412,58413,491,0001,037,0002,531,328
8Jan 26, 2024 00:434,54927,793,43114,556,00002,527,232
9Jan 26, 2024 00:434,56141,532,17713,554,0001,042,0002,445,312
10Jan 26, 2024 00:434,82364,081,11115,433,00202,203,648
11Jan 26, 2024 00:434,83895,060,56115,481,30302,207,744
12Jan 26, 2024 00:434,83977,358,57215,485,34702,203,648