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 17, 2021 03:36Yuriy LyfenkoYuriy LyfenkoScore: 5,431Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2021 03:365,373145,635,52314,158,0003,034,0002,265,088
2May 17, 2021 03:365,399187,216,73117,278,00002,269,184
3May 17, 2021 03:365,4013,652,935,15017,282,00002,265,088
4May 17, 2021 03:365,4033,968,658,08516,272,0001,017,0002,523,136
5May 17, 2021 03:365,4101,809,638,14214,257,0003,055,0002,265,088
6May 17, 2021 03:365,410723,028,80517,313,00002,265,088
7May 17, 2021 03:365,4314,939,088,66614,482,0002,896,0002,523,136
8May 17, 2021 03:365,4383,430,638,65614,503,0002,900,0002,265,088
9May 17, 2021 03:365,4401,530,597,09817,409,00002,265,088
10May 17, 2021 03:365,5993,837,974,15217,917,58802,285,568
11May 17, 2021 03:365,626137,904,58918,004,38802,273,280
12May 17, 2021 03:365,628398,952,82818,008,01302,277,376