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 listJun 16, 2024 04:53AnSaAnSaScore: 5,800Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 16, 2024 04:535,74141,771,83415,310,0003,062,0002,273,280
2Jun 16, 2024 04:535,75343,304,43918,410,00002,277,376
3Jun 16, 2024 04:535,75840,907,80818,427,00002,277,376
4Jun 16, 2024 04:535,76245,743,47417,415,0001,024,0002,383,872
5Jun 16, 2024 04:535,76641,756,97317,425,0001,025,0002,277,376
6Jun 16, 2024 04:535,77741,057,58817,460,0001,027,0002,277,376
7Jun 16, 2024 04:535,80047,557,93817,528,0001,031,0002,277,376
8Jun 16, 2024 04:535,80740,537,93717,550,0001,032,0002,277,376
9Jun 16, 2024 04:535,81641,970,35116,653,0001,959,0002,277,376
10Jun 16, 2024 04:536,04796,275,00319,349,59902,174,976
11Jun 16, 2024 04:536,04782,854,20419,351,68902,301,952
12Jun 16, 2024 04:536,06191,253,49819,395,48002,174,976