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 16, 2021 15:58Yuriy LyfenkoYuriy LyfenkoScore: 5,474Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 15:585,43139,361,83116,358,0001,022,0002,519,040
2May 16, 2021 15:585,45348,991,16116,425,0001,026,0002,519,040
3May 16, 2021 15:585,45442,045,43417,452,00002,519,040
4May 16, 2021 15:585,45543,285,78016,430,0001,026,0002,519,040
5May 16, 2021 15:585,46632,453,97015,434,0002,057,0002,519,040
6May 16, 2021 15:585,46846,582,37917,497,00002,387,968
7May 16, 2021 15:585,47439,992,10617,517,00002,383,872
8May 16, 2021 15:585,48344,095,29115,480,0002,064,0002,519,040
9May 16, 2021 15:585,50644,648,63317,620,00002,392,064
10May 16, 2021 15:585,74090,566,78918,368,52102,273,280
11May 16, 2021 15:585,76060,573,69018,433,19302,289,664
12May 16, 2021 15:585,76665,674,71718,450,66702,285,568