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 listOct 28, 2024 19:00RileyRileyScore: 13,517Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:0013,50770,053,01541,211,0002,010,0002,289,664
2Oct 28, 2024 19:0013,50973,430,18941,220,0002,010,0002,531,328
3Oct 28, 2024 19:0013,51067,561,49341,223,0002,010,0002,289,664
4Oct 28, 2024 19:0013,51364,805,27641,230,0002,011,0002,269,184
5Oct 28, 2024 19:0013,51771,423,19642,248,0001,005,0002,269,184
6Oct 28, 2024 19:0013,53571,414,30041,297,0002,014,0002,269,184
7Oct 28, 2024 19:0013,53971,208,21941,309,0002,015,0002,289,664
8Oct 28, 2024 19:0013,54174,448,84541,315,0002,015,0002,269,184
9Oct 28, 2024 19:0013,54573,164,85442,337,0001,008,0002,265,088