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 2, 2024 23:34Drew GarciaDrew GarciaScore: 5,639Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 2, 2024 23:345,60849,445,04514,954,0002,990,0002,281,472
2Apr 2, 2024 23:345,61146,657,81915,960,0001,995,0002,281,472
3Apr 2, 2024 23:345,61441,985,97114,972,0002,994,0002,281,472
4Apr 2, 2024 23:345,62246,156,20715,991,0001,998,0002,277,376
5Apr 2, 2024 23:345,62845,068,98015,009,0003,001,0002,273,280
6Apr 2, 2024 23:345,63047,127,07616,015,0002,001,0002,277,376
7Apr 2, 2024 23:345,63938,958,58516,040,0002,005,0002,281,472
8Apr 2, 2024 23:345,64144,081,66016,045,0002,005,0002,289,664
9Apr 2, 2024 23:345,65247,817,86015,073,0003,014,0002,277,376
10Apr 2, 2024 23:345,85787,847,56718,741,12602,256,896
11Apr 2, 2024 23:345,91093,118,24918,910,74302,306,048
12Apr 2, 2024 23:345,91373,738,24718,920,87802,174,976