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 20:52lukostlukostScore: 5,133Success
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 20:525,11141,578,44915,334,0001,022,0002,449,408
2Apr 24, 2025 20:525,11244,209,75915,335,0001,022,0002,449,408
3Apr 24, 2025 20:525,11742,962,65515,352,0001,023,0002,531,328
4Apr 24, 2025 20:525,11930,292,51215,357,0001,023,0002,539,520
5Apr 24, 2025 20:525,13342,671,17915,400,0001,026,0002,453,504
6Apr 24, 2025 20:525,14736,465,80815,442,0001,029,0002,539,520
7Apr 24, 2025 20:525,16338,298,55016,522,00002,437,120
8Apr 24, 2025 20:525,16936,775,60815,508,0001,033,0002,523,136
9Apr 24, 2025 20:525,17939,518,27215,537,0001,035,0002,445,312