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 9, 2024 17:06Drew GarciaDrew GarciaScore: 5,598Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2024 17:065,58048,556,77515,873,0001,984,0002,277,376
2Apr 9, 2024 17:065,58344,812,92815,882,0001,985,0002,277,376
3Apr 9, 2024 17:065,58443,497,22415,885,0001,985,0002,281,472
4Apr 9, 2024 17:065,58643,435,47014,895,0002,979,0002,281,472
5Apr 9, 2024 17:065,58635,938,87915,889,0001,986,0002,277,376
6Apr 9, 2024 17:065,59647,804,42914,922,0002,984,0002,269,184
7Apr 9, 2024 17:065,59849,262,53115,925,0001,990,0002,281,472
8Apr 9, 2024 17:065,60644,312,24115,947,0001,993,0002,281,472
9Apr 9, 2024 17:065,60940,240,12615,954,0001,994,0002,281,472
10Apr 9, 2024 17:065,80084,841,89918,559,41102,306,048
11Apr 9, 2024 17:065,80689,062,88018,578,80102,191,360
12Apr 9, 2024 17:065,83982,334,37618,685,52702,179,072