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 listJul 24, 2022 11:01Robert BurkeRobert BurkeScore: 4,493Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 11:014,46029,573,85212,234,0002,039,0002,453,504
2Jul 24, 2022 11:014,46831,690,34313,275,0001,021,0002,281,472
3Jul 24, 2022 11:014,47034,559,77713,284,0001,021,0002,445,312
4Jul 24, 2022 11:014,47731,539,37913,303,0001,023,0002,449,408
5Jul 24, 2022 11:014,47832,242,76313,306,0001,023,0002,281,472
6Jul 24, 2022 11:014,48131,551,04813,315,0001,024,0002,281,472
7Jul 24, 2022 11:014,49333,264,63513,350,0001,026,0002,453,504
8Jul 24, 2022 11:014,49431,608,76413,354,0001,027,0002,281,472
9Jul 24, 2022 11:014,50336,936,47213,382,0001,029,0002,445,312
10Jul 24, 2022 11:014,70475,696,68815,051,45002,207,744
11Jul 24, 2022 11:014,70583,469,48815,055,56002,211,840
12Jul 24, 2022 11:014,71884,877,78615,096,65802,211,840