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 29, 2021 21:49Yuriy LyfenkoYuriy LyfenkoScore: 5,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 21:495,41639,838,27817,331,00002,273,280
2May 29, 2021 21:495,43236,836,97816,359,0001,022,0002,273,280
3May 29, 2021 21:495,43739,261,40016,374,0001,023,0002,404,352
4May 29, 2021 21:495,44739,979,17215,380,0002,050,0002,273,280
5May 29, 2021 21:495,45044,169,67116,415,0001,025,0002,281,472
6May 29, 2021 21:495,45431,697,69516,426,0001,026,0002,404,352
7May 29, 2021 21:495,45634,440,11817,459,00002,273,280
8May 29, 2021 21:495,45638,719,14316,432,0001,027,0002,404,352
9May 29, 2021 21:495,46539,972,97916,460,0001,028,0002,412,544
10May 29, 2021 21:495,605102,188,96917,934,51202,289,664
11May 29, 2021 21:495,61768,645,46317,974,45602,293,760
12May 29, 2021 21:495,63488,379,62418,027,68802,301,952