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 9, 2024 15:05matsuoka-601matsuoka-601Score: 4,648Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 15:054,64131,773,67113,860,000990,0002,285,568
2Jun 9, 2024 15:054,64131,820,81614,852,00002,519,040
3Jun 9, 2024 15:054,64732,039,27513,879,000991,0002,408,448
4Jun 9, 2024 15:054,64742,659,99913,879,000991,0002,408,448
5Jun 9, 2024 15:054,64839,495,74912,892,0001,983,0002,285,568
6Jun 9, 2024 15:054,64832,289,66313,884,000991,0002,408,448
7Jun 9, 2024 15:054,64842,416,70014,875,00002,285,568
8Jun 9, 2024 15:054,65131,038,64413,890,000992,0002,404,352
9Jun 9, 2024 15:054,65233,730,79112,901,0001,984,0002,404,352
10Jun 9, 2024 15:054,84888,787,22215,512,25202,297,856
11Jun 9, 2024 15:054,86565,988,02415,567,09902,297,856
12Jun 9, 2024 15:054,90497,099,74415,691,97502,179,072