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 listMay 29, 2022 16:31Keichi TakahashiKeichi TakahashiScore: 5,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2022 16:315,35347,173,41215,116,0002,015,0002,387,968
2May 29, 2022 16:315,36839,830,69216,169,0001,010,0002,383,872
3May 29, 2022 16:315,37342,751,83615,170,0002,022,0002,383,872
4May 29, 2022 16:315,37644,938,66116,192,0001,012,0002,265,088
5May 29, 2022 16:315,38545,005,08915,206,0002,027,0002,265,088
6May 29, 2022 16:315,39148,995,03416,238,0001,014,0002,265,088
7May 29, 2022 16:315,39740,482,44115,238,0002,031,0002,387,968
8May 29, 2022 16:315,39744,026,25316,254,0001,015,0002,506,752
9May 29, 2022 16:315,40039,876,14416,265,0001,016,0002,379,776
10May 29, 2022 16:315,56693,002,90817,810,49702,273,280
11May 29, 2022 16:315,58483,318,59817,869,12102,281,472
12May 29, 2022 16:315,58582,605,22217,872,47602,277,376