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 1, 2024 14:21Drew GarciaDrew GarciaScore: 5,669Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 1, 2024 14:215,63543,289,85116,028,0002,003,0002,277,376
2Apr 1, 2024 14:215,63550,433,38916,029,0002,003,0002,281,472
3Apr 1, 2024 14:215,63737,157,78814,030,0004,008,0002,281,472
4Apr 1, 2024 14:215,66149,765,46315,097,0003,019,0002,281,472
5Apr 1, 2024 14:215,66243,530,45117,112,0001,006,0002,281,472
6Apr 1, 2024 14:215,66542,060,98615,108,0003,021,0002,281,472
7Apr 1, 2024 14:215,66942,498,11816,126,0002,015,0002,277,376
8Apr 1, 2024 14:215,71742,532,93416,261,0002,032,0002,281,472
9Apr 1, 2024 14:215,71939,098,63516,268,0002,033,0002,273,280
10Apr 1, 2024 14:215,99097,031,00619,168,85402,179,072
11Apr 1, 2024 14:215,99685,826,86319,188,79702,179,072
12Apr 1, 2024 14:216,00099,154,08919,201,54302,191,360