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:35lukostlukostScore: 5,140Success
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:355,10641,461,67015,317,0001,021,0002,277,376
2Apr 24, 2025 20:355,12738,632,60115,382,0001,025,0002,539,520
3Apr 24, 2025 20:355,13233,061,12615,397,0001,026,0002,277,376
4Apr 24, 2025 20:355,13432,088,05615,403,0001,026,0002,539,520
5Apr 24, 2025 20:355,14033,522,97215,421,0001,028,0002,453,504
6Apr 24, 2025 20:355,14133,561,25415,422,0001,028,0002,539,520
7Apr 24, 2025 20:355,14134,632,61415,424,0001,028,0002,449,408
8Apr 24, 2025 20:355,15134,778,41415,454,0001,030,0002,445,312
9Apr 24, 2025 20:355,15638,458,64715,468,0001,031,0002,445,312