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 listJul 4, 2021 00:13Egor SergeevEgor SergeevScore: 5,157Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 4, 2021 00:135,12240,774,75616,390,00002,277,376
2Jul 4, 2021 00:135,13233,713,66316,422,00002,277,376
3Jul 4, 2021 00:135,14032,448,53116,447,00002,277,376
4Jul 4, 2021 00:135,14631,351,74916,467,00002,490,368
5Jul 4, 2021 00:135,14735,374,06916,469,00002,277,376
6Jul 4, 2021 00:135,14934,410,50615,448,0001,029,0002,535,424
7Jul 4, 2021 00:135,15733,513,73816,503,00002,535,424
8Jul 4, 2021 00:135,16432,590,62816,525,00002,498,560
9Jul 4, 2021 00:135,16433,623,38716,526,00002,277,376
10Jul 4, 2021 00:135,39286,162,81017,255,54202,244,608
11Jul 4, 2021 00:135,39369,980,24217,256,47802,256,896
12Jul 4, 2021 00:135,40164,959,08417,282,67702,248,704