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 listJul 19, 2022 18:30Adam StřelskýAdam StřelskýScore: 5,345Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 18:305,32542,142,52715,037,0002,004,0002,449,408
2Jul 19, 2022 18:305,33436,830,99815,062,0002,008,0002,445,312
3Jul 19, 2022 18:305,33535,494,74415,064,0002,008,0002,273,280
4Jul 19, 2022 18:305,33836,738,29115,073,0002,009,0002,273,280
5Jul 19, 2022 18:305,34134,691,55615,081,0002,010,0002,445,312
6Jul 19, 2022 18:305,34338,224,49415,088,0002,011,0002,535,424
7Jul 19, 2022 18:305,34539,928,77815,093,0002,012,0002,273,280
8Jul 19, 2022 18:305,35138,623,98216,116,0001,007,0002,437,120
9Jul 19, 2022 18:305,38038,983,21116,205,0001,012,0002,441,216
10Jul 19, 2022 18:305,69189,608,96518,211,13802,199,552
11Jul 19, 2022 18:305,69975,287,57418,237,43902,199,552
12Jul 19, 2022 18:305,70289,631,40918,245,80202,199,552