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:18Yuriy LyfenkoYuriy LyfenkoScore: 5,096Success
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:185,058542,704,02715,174,0001,011,0002,281,472
2Jun 3, 2021 16:185,067541,147,42716,215,00002,273,280
3Jun 3, 2021 16:185,068539,507,57715,203,0001,013,0002,273,280
4Jun 3, 2021 16:185,069535,839,70915,208,0001,013,0002,273,280
5Jun 3, 2021 16:185,085543,380,81414,238,0002,034,0002,408,448
6Jun 3, 2021 16:185,086539,787,85214,241,0002,034,0002,408,448
7Jun 3, 2021 16:185,096537,596,93416,307,00002,273,280
8Jun 3, 2021 16:185,101541,173,67316,324,00002,273,280
9Jun 3, 2021 16:185,105546,726,77016,337,00002,273,280
10Jun 3, 2021 16:185,198570,616,07816,632,75802,252,800
11Jun 3, 2021 16:185,209591,795,02316,667,42302,285,568
12Jun 3, 2021 16:185,230588,554,45216,736,32602,256,896