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 listNov 1, 2021 11:32Jules MinierJules MinierScore: 5,543Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 11:325,47540,085,22716,490,0001,030,0002,289,664
2Nov 1, 2021 11:325,49544,022,45716,551,0001,034,0002,289,664
3Nov 1, 2021 11:325,51247,790,93816,601,0001,037,0002,289,664
4Nov 1, 2021 11:325,51443,298,66316,607,0001,037,0002,277,376
5Nov 1, 2021 11:325,52134,810,61716,628,0001,039,0002,289,664
6Nov 1, 2021 11:325,52943,746,42016,652,0001,040,0002,289,664
7Nov 1, 2021 11:325,54346,754,80917,739,00002,289,664
8Nov 1, 2021 11:325,56744,781,81715,835,0001,979,0002,269,184
9Nov 1, 2021 11:325,57943,560,70815,870,0001,983,0002,289,664
10Nov 1, 2021 11:325,73299,067,20618,343,06502,281,472
11Nov 1, 2021 11:325,74489,530,07118,381,03302,293,760
12Nov 1, 2021 11:325,76587,384,20618,448,05802,174,976