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 19, 2021 23:14POCCOMAXAPOCCOMAXAScore: 2,520,539Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:142,513,1058,105,497,3058,041,935,96402,252,800
2May 19, 2021 23:142,516,3808,106,940,9118,052,414,73502,244,608
3May 19, 2021 23:142,519,6868,121,004,2588,062,994,68102,248,704
4May 19, 2021 23:142,520,5398,126,917,0628,065,725,79602,256,896
5May 19, 2021 23:142,523,9428,145,910,1178,076,614,50202,260,992
6May 19, 2021 23:142,625,6548,464,882,4208,402,091,82802,252,800