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 listDec 16, 2024 22:31RichardRichardScore: 5,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 16, 2024 22:315,73044,238,56617,319,0001,018,0002,285,568
2Dec 16, 2024 22:315,74341,451,22116,336,0002,042,0002,379,776
3Dec 16, 2024 22:315,75534,090,22816,371,0002,046,0002,363,392
4Dec 16, 2024 22:315,76140,932,14018,436,00002,375,680
5Dec 16, 2024 22:315,76346,123,69216,394,0002,049,0002,285,568
6Dec 16, 2024 22:315,77842,341,66918,491,00002,285,568
7Dec 16, 2024 22:315,78245,629,78518,503,00002,285,568
8Dec 16, 2024 22:315,78540,887,66418,513,00002,285,568
9Dec 16, 2024 22:315,78639,599,30118,514,00002,371,584