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 26, 2025 20:12lukostlukostScore: 5,085Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 26, 2025 20:125,04333,893,99414,119,0002,017,0002,539,520
2Apr 26, 2025 20:125,04848,444,21814,136,0002,019,0002,539,520
3Apr 26, 2025 20:125,06035,383,18714,168,0002,024,0002,539,520
4Apr 26, 2025 20:125,08441,488,70815,254,0001,016,0002,539,520
5Apr 26, 2025 20:125,08539,542,54915,256,0001,017,0002,539,520
6Apr 26, 2025 20:125,08939,039,51715,268,0001,017,0002,539,520
7Apr 26, 2025 20:125,11342,034,79315,341,0001,022,0002,539,520
8Apr 26, 2025 20:125,11537,368,55816,369,00002,539,520
9Apr 26, 2025 20:125,11733,062,69416,375,00002,277,376