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 listJun 9, 2024 14:07AndreyTSAndreyTSScore: 5,281Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 14:075,26646,768,92515,859,000991,0002,527,232
2Jun 9, 2024 14:075,27137,611,35715,874,000992,0002,289,664
3Jun 9, 2024 14:075,27342,686,00514,887,0001,985,0002,289,664
4Jun 9, 2024 14:075,27335,047,22114,889,0001,985,0002,289,664
5Jun 9, 2024 14:075,27533,174,74415,888,000993,0002,269,184
6Jun 9, 2024 14:075,27640,868,95316,884,00002,289,664
7Jun 9, 2024 14:075,28138,755,07214,910,0001,988,0002,273,280
8Jun 9, 2024 14:075,29241,027,64014,942,0001,992,0002,289,664
9Jun 9, 2024 14:075,29340,170,24014,945,0001,992,0002,289,664
10Jun 9, 2024 14:075,53979,495,72517,726,06202,301,952
11Jun 9, 2024 14:075,55289,939,23617,765,93602,306,048
12Jun 9, 2024 14:075,56253,094,31417,799,23002,310,144