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 22, 2024 02:43Yuriy LyfenkoYuriy LyfenkoScore: 7,397Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 22, 2024 02:436,02782,211,73419,285,34802,281,472
2Apr 22, 2024 02:436,06087,393,05519,393,06002,273,280
3Apr 22, 2024 02:436,25589,026,07120,017,24202,273,280
4Apr 22, 2024 02:437,19750,191,13921,027,0002,002,0002,326,528
5Apr 22, 2024 02:437,24252,755,54322,166,0001,007,0002,539,520
6Apr 22, 2024 02:437,31552,643,25420,356,0003,053,0002,551,808
7Apr 22, 2024 02:437,39750,744,17222,640,0001,029,0002,551,808
8Apr 22, 2024 02:437,48650,326,52320,960,0002,994,0002,551,808
9Apr 22, 2024 02:437,50249,967,00121,005,0003,000,0002,465,792
10Apr 22, 2024 02:437,51853,926,19622,054,0002,004,0002,551,808
11Apr 22, 2024 02:437,52054,968,47821,057,0003,008,0002,461,696
12Apr 22, 2024 02:437,53754,502,96021,104,0003,014,0002,457,600