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 listJun 13, 2021 23:09evgenikwtevgenikwtScore: 5,316Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 13, 2021 23:095,28136,354,14215,905,000994,0002,265,088
2Jun 13, 2021 23:095,28246,210,09414,914,0001,988,0002,265,088
3Jun 13, 2021 23:095,28445,021,17115,852,0001,056,0002,527,232
4Jun 13, 2021 23:095,28443,451,94516,910,00002,387,968
5Jun 13, 2021 23:095,29943,463,00614,962,0001,994,0002,265,088
6Jun 13, 2021 23:095,30845,607,19415,985,000999,0002,265,088
7Jun 13, 2021 23:095,31642,888,83116,011,0001,000,0002,265,088
8Jun 13, 2021 23:095,31941,734,86516,020,0001,001,0002,383,872
9Jun 13, 2021 23:095,32442,237,18615,033,0002,004,0002,469,888
10Jun 13, 2021 23:095,49271,976,74017,574,32902,269,184
11Jun 13, 2021 23:095,49451,888,59517,582,26502,244,608
12Jun 13, 2021 23:095,51559,614,79017,648,19002,285,568