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 18, 2024 17:11Robert BurkeRobert BurkeScore: 4,448Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 17:114,43027,233,35812,150,0002,025,0002,277,376
2Apr 18, 2024 17:114,43735,185,78812,171,0002,028,0002,281,472
3Apr 18, 2024 17:114,43829,640,94412,173,0002,028,0002,449,408
4Apr 18, 2024 17:114,44339,736,35412,187,0002,031,0002,445,312
5Apr 18, 2024 17:114,44628,272,39512,194,0002,032,0002,277,376
6Apr 18, 2024 17:114,44735,489,68312,197,0002,032,0002,445,312
7Apr 18, 2024 17:114,44841,200,32712,200,0002,033,0002,281,472
8Apr 18, 2024 17:114,45228,261,17912,210,0002,035,0002,281,472
9Apr 18, 2024 17:114,52245,299,95613,437,0001,033,0002,453,504
10Apr 18, 2024 17:114,723100,072,16615,114,98402,203,648
11Apr 18, 2024 17:114,72895,487,23015,129,25302,199,552
12Apr 18, 2024 17:114,79087,403,85515,329,49602,203,648