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 20, 2024 11:51Matt StuchlikMatt StuchlikScore: 4,680Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 20, 2024 11:514,65230,734,00812,901,0001,984,0002,523,136
2Jul 20, 2024 11:514,66432,057,70212,935,0001,990,0002,289,664
3Jul 20, 2024 11:514,67038,665,11412,951,0001,992,0002,289,664
4Jul 20, 2024 11:514,67131,557,18613,951,000996,0002,289,664
5Jul 20, 2024 11:514,67531,651,60212,967,0001,994,0002,289,664
6Jul 20, 2024 11:514,67830,402,85412,973,0001,995,0002,289,664
7Jul 20, 2024 11:514,68034,188,26213,979,000998,0002,265,088
8Jul 20, 2024 11:514,70232,116,55214,042,0001,003,0002,375,680
9Jul 20, 2024 11:514,71443,395,74214,079,0001,005,0002,523,136
10Jul 20, 2024 11:514,94564,442,85015,824,93002,170,880
11Jul 20, 2024 11:514,95259,580,65515,846,02702,297,856
12Jul 20, 2024 11:514,95891,675,30715,864,93602,289,664