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 listJan 2, 2023 16:15Hal FHal FScore: 4,763Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 16:154,73734,594,73914,148,0001,010,0002,289,664
2Jan 2, 2023 16:154,74035,951,56614,157,0001,011,0002,289,664
3Jan 2, 2023 16:154,74032,390,25413,147,0002,022,0002,519,040
4Jan 2, 2023 16:154,74436,545,33513,158,0002,024,0002,523,136
5Jan 2, 2023 16:154,74739,446,70313,165,0002,025,0002,289,664
6Jan 2, 2023 16:154,75638,360,15713,190,0002,029,0002,289,664
7Jan 2, 2023 16:154,76331,393,42813,209,0002,032,0002,383,872
8Jan 2, 2023 16:154,76641,359,28513,217,0002,033,0002,289,664
9Jan 2, 2023 16:154,78732,459,09613,275,0002,042,0002,277,376
10Jan 2, 2023 16:155,05688,645,92416,178,59402,301,952
11Jan 2, 2023 16:155,06877,556,14216,218,96102,289,664
12Jan 2, 2023 16:155,10698,199,33116,337,89902,285,568