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:29Robert BurkeRobert BurkeScore: 4,455Success
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:294,43532,024,44812,164,0002,027,0002,281,472
2Apr 18, 2024 14:294,43932,379,10712,176,0002,029,0002,453,504
3Apr 18, 2024 14:294,44136,882,36612,181,0002,030,0002,457,600
4Apr 18, 2024 14:294,45128,695,69812,209,0002,034,0002,281,472
5Apr 18, 2024 14:294,45328,252,10012,214,0002,035,0002,281,472
6Apr 18, 2024 14:294,45529,289,53512,219,0002,036,0002,281,472
7Apr 18, 2024 14:294,45525,632,70712,220,0002,036,0002,273,280
8Apr 18, 2024 14:294,45632,648,70712,223,0002,037,0002,281,472
9Apr 18, 2024 14:294,46831,513,81913,276,0001,021,0002,281,472
10Apr 18, 2024 14:294,73590,104,41715,150,74102,215,936
11Apr 18, 2024 14:294,73978,829,77815,166,10102,207,744
12Apr 18, 2024 14:294,76484,261,25515,245,59402,334,720