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 5, 2021 17:03evgenikwtevgenikwtScore: 5,318Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2021 17:035,28342,709,52114,916,0001,988,0002,256,896
2Jun 5, 2021 17:035,28440,180,18214,921,0001,989,0002,265,088
3Jun 5, 2021 17:035,30345,000,05015,971,000998,0002,387,968
4Jun 5, 2021 17:035,30734,038,22515,983,000998,0002,265,088
5Jun 5, 2021 17:035,30938,978,77614,991,0001,998,0002,387,968
6Jun 5, 2021 17:035,31447,493,68116,005,0001,000,0002,265,088
7Jun 5, 2021 17:035,31844,354,80616,018,0001,001,0002,265,088
8Jun 5, 2021 17:035,32047,186,27216,024,0001,001,0002,387,968
9Jun 5, 2021 17:035,34742,355,17915,098,0002,013,0002,265,088
10Jun 5, 2021 17:035,485108,164,20417,551,17002,265,088
11Jun 5, 2021 17:035,49266,103,39917,573,65902,285,568
12Jun 5, 2021 17:035,52677,687,14417,682,34602,277,376