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 21:29evgenikwtevgenikwtScore: 5,279Success
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 21:295,26934,974,67115,869,000991,0002,265,088
2Jun 13, 2021 21:295,27333,712,63915,881,000992,0002,265,088
3Jun 13, 2021 21:295,27532,273,36114,894,0001,985,0002,392,064
4Jun 13, 2021 21:295,27743,356,69215,893,000993,0002,392,064
5Jun 13, 2021 21:295,27734,154,03014,900,0001,986,0002,387,968
6Jun 13, 2021 21:295,27733,247,72614,900,0001,986,0002,387,968
7Jun 13, 2021 21:295,27947,188,14914,905,0001,987,0002,265,088
8Jun 13, 2021 21:295,28044,226,23716,897,00002,387,968
9Jun 13, 2021 21:295,29540,682,33214,951,0001,993,0002,465,792
10Jun 13, 2021 21:295,48175,729,31617,538,76802,285,568
11Jun 13, 2021 21:295,48875,301,47417,560,10002,277,376
12Jun 13, 2021 21:295,49580,018,63717,585,44002,277,376