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 listAug 31, 2024 19:44zielajzielajScore: 4,164Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 31, 2024 19:444,13031,428,10112,201,0001,016,0002,269,184
2Aug 31, 2024 19:444,14229,032,27613,255,00002,265,088
3Aug 31, 2024 19:444,14733,391,31813,270,00002,531,328
4Aug 31, 2024 19:444,15126,276,42713,282,00002,531,328
5Aug 31, 2024 19:444,15232,724,25213,285,00002,531,328
6Aug 31, 2024 19:444,15230,193,08813,286,00002,531,328
7Aug 31, 2024 19:444,16429,867,39013,325,00002,527,232
8Aug 31, 2024 19:444,17629,125,64613,363,00002,490,368
9Aug 31, 2024 19:444,17825,893,81213,368,00002,269,184
10Aug 31, 2024 19:444,18129,344,97213,378,00002,277,376
11Aug 31, 2024 19:444,18330,610,29913,387,00002,494,464
12Aug 31, 2024 19:444,19433,972,80313,422,00002,498,560