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 listApr 18, 2024 14:08Robert BurkeRobert BurkeScore: 4,482Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 14:084,45733,564,34112,225,0002,037,0002,281,472
2Apr 18, 2024 14:084,46135,442,75513,257,0001,019,0002,449,408
3Apr 18, 2024 14:084,46328,546,12313,261,0001,020,0002,445,312
4Apr 18, 2024 14:084,47031,678,95013,283,0001,021,0002,449,408
5Apr 18, 2024 14:084,47237,091,60913,288,0001,022,0002,437,120
6Apr 18, 2024 14:084,48229,863,19113,317,0001,024,0002,527,232
7Apr 18, 2024 14:084,48240,002,60413,318,0001,024,0002,441,216
8Apr 18, 2024 14:084,48229,159,59213,319,0001,024,0002,441,216
9Apr 18, 2024 14:084,49331,719,69013,350,0001,026,0002,281,472
10Apr 18, 2024 14:084,72961,644,87215,133,69702,256,896
11Apr 18, 2024 14:084,79183,845,36615,331,74602,195,456
12Apr 18, 2024 14:084,80967,084,06115,389,95302,199,552