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 24, 2025 21:02lukostlukostScore: 5,146Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2025 21:115,10438,288,10915,312,0001,020,0002,277,376
2Apr 24, 2025 20:565,11934,179,63715,358,0001,023,0002,453,504
3Apr 24, 2025 21:115,13046,801,54215,391,0001,026,0002,539,520
4Apr 24, 2025 20:565,13938,032,80615,418,0001,027,0002,445,312
5Apr 24, 2025 21:025,14648,712,76715,438,0001,029,0002,445,312
6Apr 24, 2025 21:025,15438,696,11215,462,0001,030,0002,449,408
7Apr 24, 2025 20:565,15932,339,62715,477,0001,031,0002,539,520
8Apr 24, 2025 21:025,16339,572,25215,489,0001,032,0002,449,408
9Apr 24, 2025 21:115,18842,274,62015,564,0001,037,0002,445,312