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 listJan 2, 2023 14:47Jack FrigaardJack FrigaardScore: 5,470Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 14:475,41338,835,14915,283,0002,037,0002,269,184
2Jan 2, 2023 14:475,43143,448,35715,334,0002,044,0002,367,488
3Jan 2, 2023 14:475,43437,075,21415,344,0002,045,0002,285,568
4Jan 2, 2023 14:475,44943,224,14316,411,0001,025,0002,527,232
5Jan 2, 2023 14:475,45346,364,99216,422,0001,026,0002,531,328
6Jan 2, 2023 14:475,45943,349,54916,442,0001,027,0002,285,568
7Jan 2, 2023 14:475,47038,761,57916,476,0001,029,0002,527,232
8Jan 2, 2023 14:475,48738,477,88616,526,0001,032,0002,285,568
9Jan 2, 2023 14:475,48939,251,96516,532,0001,033,0002,269,184
10Jan 2, 2023 14:475,70196,628,81418,242,49702,306,048
11Jan 2, 2023 14:475,70685,942,29418,257,85002,289,664
12Jan 2, 2023 14:475,72284,994,10518,310,35202,297,856