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 27, 2021 19:01Yuriy LyfenkoYuriy LyfenkoScore: 5,088Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 19:015,03435,687,35614,096,0002,013,0002,400,256
2May 27, 2021 19:015,04341,747,90014,120,0002,017,0002,383,872
3May 27, 2021 19:015,05233,950,72014,145,0002,020,0002,383,872
4May 27, 2021 19:015,05235,599,60915,155,0001,010,0002,265,088
5May 27, 2021 19:015,05442,207,97014,152,0002,021,0002,265,088
6May 27, 2021 19:015,06547,900,07415,196,0001,013,0002,392,064
7May 27, 2021 19:015,08834,849,18615,263,0001,017,0002,265,088
8May 27, 2021 19:015,09237,560,76316,295,00002,387,968
9May 27, 2021 19:015,09640,379,92314,268,0002,038,0002,392,064
10May 27, 2021 19:015,22044,009,85116,704,71002,277,376
11May 27, 2021 19:015,28278,037,40516,902,71902,277,376
12May 27, 2021 19:015,29679,713,71416,945,78502,273,280