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 17, 2024 00:36Joad NacerJoad NacerScore: 5,494Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 17, 2024 00:365,43938,063,50416,381,0001,023,0002,527,232
2Apr 17, 2024 00:365,45143,456,12816,417,0001,026,0002,289,664
3Apr 17, 2024 00:365,45340,541,76616,422,0001,026,0002,289,664
4Apr 17, 2024 00:365,45439,142,98716,426,0001,026,0002,289,664
5Apr 17, 2024 00:365,47838,291,86716,500,0001,031,0002,273,280
6Apr 17, 2024 00:365,48534,848,93417,553,00002,289,664
7Apr 17, 2024 00:365,49439,050,08716,546,0001,034,0002,277,376
8Apr 17, 2024 00:365,49740,282,75817,589,00002,289,664
9Apr 17, 2024 00:365,50945,207,96316,593,0001,037,0002,265,088
10Apr 17, 2024 00:365,70261,205,06518,246,59402,301,952
11Apr 17, 2024 00:365,70590,390,21218,255,72102,293,760
12Apr 17, 2024 00:365,72184,037,53018,307,22502,301,952