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 11, 2021 22:29Yuriy LyfenkoYuriy LyfenkoScore: 5,674Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 22:295,63538,025,32016,030,0002,003,0002,523,136
2May 11, 2021 22:295,64243,596,79216,048,0002,006,0002,392,064
3May 11, 2021 22:295,64442,345,47117,059,0001,003,0002,387,968
4May 11, 2021 22:295,64638,815,79815,056,0003,011,0002,523,136
5May 11, 2021 22:295,65446,187,16216,082,0002,010,0002,260,992
6May 11, 2021 22:295,66944,797,56017,134,0001,007,0002,519,040
7May 11, 2021 22:295,67438,216,79415,131,0003,026,0002,506,752
8May 11, 2021 22:295,68144,099,35717,170,0001,010,0002,383,872
9May 11, 2021 22:295,69046,323,66616,184,0002,023,0002,506,752
10May 11, 2021 22:295,87284,978,70318,789,16602,277,376
11May 11, 2021 22:295,87683,961,69918,803,68802,269,184
12May 11, 2021 22:295,89279,382,58418,854,52002,277,376