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 8, 2023 12:53Anılcan GülkayaAnılcan GülkayaScore: 5,727Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 12:535,68639,392,75617,186,0001,010,0002,285,568
2Jul 8, 2023 12:535,68933,608,60016,182,0002,022,0002,273,280
3Jul 8, 2023 12:535,69541,220,48417,212,0001,012,0002,289,664
4Jul 8, 2023 12:535,70044,384,21816,214,0002,026,0002,289,664
5Jul 8, 2023 12:535,70239,873,42516,219,0002,027,0002,273,280
6Jul 8, 2023 12:535,71044,152,59016,243,0002,030,0002,273,280
7Jul 8, 2023 12:535,72735,626,30517,309,0001,018,0002,273,280
8Jul 8, 2023 12:535,73143,814,05616,409,0001,930,0002,269,184
9Jul 8, 2023 12:535,74345,967,68017,356,0001,020,0002,269,184
10Jul 8, 2023 12:536,08381,612,76519,466,43702,293,760
11Jul 8, 2023 12:536,09299,206,10419,493,50402,174,976
12Jul 8, 2023 12:536,14990,081,23419,678,11502,297,856