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 listOct 7, 2023 16:58Pavel ZagrebinPavel ZagrebinScore: 5,396Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 7, 2023 16:585,36733,384,02315,155,0002,020,0002,387,968
2Oct 7, 2023 16:585,37043,100,47814,152,0003,032,0002,379,776
3Oct 7, 2023 16:585,37033,345,75816,175,0001,010,0002,383,872
4Oct 7, 2023 16:585,37542,504,96814,165,0003,035,0002,392,064
5Oct 7, 2023 16:585,37540,641,06616,189,0001,011,0002,375,680
6Oct 7, 2023 16:585,37750,257,05915,182,0002,024,0002,387,968
7Oct 7, 2023 16:585,39638,524,22916,251,0001,015,0002,519,040
8Oct 7, 2023 16:585,42533,478,63816,339,0001,021,0002,387,968
9Oct 7, 2023 16:585,44233,136,33117,413,00002,392,064
10Oct 7, 2023 16:585,68584,451,34518,193,52702,289,664
11Oct 7, 2023 16:585,69265,212,81618,213,35202,277,376
12Oct 7, 2023 16:585,74670,586,53018,385,81602,289,664