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 listJun 3, 2021 16:09Yuriy LyfenkoYuriy LyfenkoScore: 5,058Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 3, 2021 16:094,993538,921,92913,979,0001,997,0002,281,472
2Jun 3, 2021 16:095,021539,361,72215,063,0001,004,0002,281,472
3Jun 3, 2021 16:095,025539,106,31414,070,0002,010,0002,281,472
4Jun 3, 2021 16:095,026536,053,14014,072,0002,010,0002,519,040
5Jun 3, 2021 16:095,033538,844,57614,092,0002,013,0002,273,280
6Jun 3, 2021 16:095,043539,015,61515,130,0001,008,0002,281,472
7Jun 3, 2021 16:095,058538,398,15314,163,0002,023,0002,273,280
8Jun 3, 2021 16:095,061539,086,30715,182,0001,012,0002,273,280
9Jun 3, 2021 16:095,091536,688,81715,274,0001,018,0002,412,544
10Jun 3, 2021 16:095,157579,103,98316,503,02102,256,896
11Jun 3, 2021 16:095,173575,314,17316,553,82102,297,856
12Jun 3, 2021 16:095,200581,393,53116,640,84602,252,800