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 14:26Robert BurkeRobert BurkeScore: 4,457Success
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 14:264,43733,699,70712,171,0002,028,0002,281,472
2Apr 18, 2024 14:264,43729,205,30112,171,0002,028,0002,277,376
3Apr 18, 2024 14:264,44231,341,63212,185,0002,030,0002,281,472
4Apr 18, 2024 14:264,44526,453,38812,193,0002,032,0002,441,216
5Apr 18, 2024 14:264,45135,974,59912,209,0002,034,0002,445,312
6Apr 18, 2024 14:264,45434,182,48613,236,0001,018,0002,281,472
7Apr 18, 2024 14:264,45730,833,77513,243,0001,018,0002,535,424
8Apr 18, 2024 14:264,46429,469,75113,266,0001,020,0002,281,472
9Apr 18, 2024 14:264,46534,251,65013,269,0001,020,0002,281,472
10Apr 18, 2024 14:264,73953,622,42915,165,31302,211,840
11Apr 18, 2024 14:264,74491,104,83715,181,16502,195,456
12Apr 18, 2024 14:264,75281,384,65015,207,82602,199,552