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 listMar 17, 2023 21:14Alexander MonakovAlexander MonakovScore: 4,652Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 17, 2023 21:144,61028,427,46314,752,00002,494,464
2Mar 17, 2023 21:144,64430,911,98413,871,000990,0002,494,464
3Mar 17, 2023 21:144,64730,342,96613,879,000991,0002,494,464
4Mar 17, 2023 21:144,64934,385,99013,887,000991,0002,277,376
5Mar 17, 2023 21:144,65032,349,19413,888,000992,0002,277,376
6Mar 17, 2023 21:144,65128,027,70714,883,00002,502,656
7Mar 17, 2023 21:144,65230,832,06013,894,000992,0002,494,464
8Mar 17, 2023 21:144,65333,541,81313,897,000992,0002,277,376
9Mar 17, 2023 21:144,65343,548,53114,890,00002,535,424
10Mar 17, 2023 21:144,86690,560,38415,572,20302,244,608
11Mar 17, 2023 21:144,879100,379,57015,611,53902,244,608
12Mar 17, 2023 21:144,88582,247,24815,631,44602,240,512