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 10, 2024 16:26AnSaAnSaScore: 5,901Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 10, 2024 16:265,81339,595,93817,567,0001,033,0002,277,376
2Jun 10, 2024 16:265,82942,598,76717,616,0001,036,0002,277,376
3Jun 10, 2024 16:265,84440,048,72518,701,00002,277,376
4Jun 10, 2024 16:265,84946,639,81516,638,0002,079,0002,269,184
5Jun 10, 2024 16:265,89444,579,14416,877,0001,985,0002,273,280
6Jun 10, 2024 16:265,89845,766,57917,880,000993,0002,265,088
7Jun 10, 2024 16:265,90142,512,56514,907,0003,975,0002,265,088
8Jun 10, 2024 16:265,90346,191,37816,902,0001,988,0002,277,376
9Jun 10, 2024 16:265,90940,001,14616,920,0001,990,0002,277,376
10Jun 10, 2024 16:266,10590,172,52619,536,60102,297,856
11Jun 10, 2024 16:266,11076,815,12319,551,05802,289,664
12Jun 10, 2024 16:266,141105,829,40319,649,94402,179,072