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 listApr 29, 2025 00:27Steve BronderSteve BronderScore: 5,225Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 29, 2025 00:275,20243,558,30816,647,00002,437,120
2Apr 29, 2025 00:275,20444,852,71215,612,0001,040,0002,277,376
3Apr 29, 2025 00:275,21442,418,82916,685,00002,539,520
4Apr 29, 2025 00:275,21447,091,11216,685,00002,445,312
5Apr 29, 2025 00:275,22538,773,76816,721,00002,535,424
6Apr 29, 2025 00:275,22837,651,05416,729,00002,441,216
7Apr 29, 2025 00:275,27144,726,72615,876,000992,0002,523,136
8Apr 29, 2025 00:275,27448,321,04315,885,000992,0002,539,520
9Apr 29, 2025 00:275,29939,051,69815,961,000997,0002,277,376