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 listApr 7, 2022 19:44Egor SergeevEgor SergeevScore: 5,361Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 7, 2022 19:445,32544,208,24115,035,0002,004,0002,281,472
2Apr 7, 2022 19:445,33237,370,67215,056,0002,007,0002,404,352
3Apr 7, 2022 19:445,33639,701,52315,066,0002,008,0002,404,352
4Apr 7, 2022 19:445,33746,832,21315,182,0001,897,0002,273,280
5Apr 7, 2022 19:445,34536,742,56716,098,0001,006,0002,277,376
6Apr 7, 2022 19:445,35636,636,36915,122,0002,016,0002,273,280
7Apr 7, 2022 19:445,36131,184,30516,147,0001,009,0002,273,280
8Apr 7, 2022 19:445,36340,729,21416,152,0001,009,0002,273,280
9Apr 7, 2022 19:445,37838,212,28517,210,00002,273,280
10Apr 7, 2022 19:445,58289,536,71017,863,39302,301,952
11Apr 7, 2022 19:445,59472,353,04817,899,22402,289,664
12Apr 7, 2022 19:445,61295,631,46617,958,06902,297,856