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 25, 2021 14:47Yuriy LyfenkoYuriy LyfenkoScore: 5,120Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 25, 2021 14:475,06045,907,50714,169,0002,024,0002,265,088
2May 25, 2021 14:475,08632,508,86715,258,0001,017,0002,265,088
3May 25, 2021 14:475,08937,912,37314,251,0002,035,0002,265,088
4May 25, 2021 14:475,10034,134,64716,321,00002,392,064
5May 25, 2021 14:475,11241,846,94414,314,0002,044,0002,396,160
6May 25, 2021 14:475,11639,303,70415,348,0001,023,0002,260,992
7May 25, 2021 14:475,12043,845,78516,384,00002,265,088
8May 25, 2021 14:475,12836,158,48015,386,0001,025,0002,265,088
9May 25, 2021 14:475,12931,058,52015,388,0001,025,0002,387,968
10May 25, 2021 14:475,32347,662,09417,034,28702,277,376
11May 25, 2021 14:475,35099,831,57717,120,37102,277,376
12May 25, 2021 14:475,35164,363,38317,124,04502,269,184