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 8, 2021 16:43Yuriy LyfenkoYuriy LyfenkoScore: 5,716Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:435,67744,698,93816,149,0002,018,0002,334,720
2Jul 8, 2021 16:435,68838,603,13716,181,0002,022,0002,334,720
3Jul 8, 2021 16:435,69047,417,89015,174,0003,034,0002,531,328
4Jul 8, 2021 16:435,70039,850,90615,201,0003,040,0002,334,720
5Jul 8, 2021 16:435,70186,855,85218,244,46502,224,128
6Jul 8, 2021 16:435,70344,449,67715,207,0003,041,0002,531,328
7Jul 8, 2021 16:435,71640,852,48816,258,0002,032,0002,531,328
8Jul 8, 2021 16:435,71847,875,22615,247,0003,049,0002,527,232
9Jul 8, 2021 16:435,72636,806,92316,288,0002,036,0002,531,328
10Jul 8, 2021 16:435,75838,913,78915,355,0003,071,0002,367,488
11Jul 8, 2021 16:435,82484,546,02218,636,19302,236,416
12Jul 8, 2021 16:435,85682,195,17918,737,90502,220,032