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 5, 2025 10:21CountHarebourgCountHarebourgScore: 4,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 10:214,66832,292,92912,947,0001,991,0002,289,664
2Apr 5, 2025 10:214,66931,184,98512,948,0001,992,0002,269,184
3Apr 5, 2025 10:214,67938,241,76512,978,0001,996,0002,289,664
4Apr 5, 2025 10:214,68137,083,70212,982,0001,997,0002,273,280
5Apr 5, 2025 10:214,68738,156,32312,998,0001,999,0002,289,664
6Apr 5, 2025 10:214,71437,235,11713,074,0002,011,0002,269,184
7Apr 5, 2025 10:214,72334,628,60514,108,0001,007,0002,277,376
8Apr 5, 2025 10:214,72532,445,18513,105,0002,016,0002,269,184
9Apr 5, 2025 10:214,73035,241,52513,117,0002,018,0002,289,664