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 21, 2024 11:06Matt StuchlikMatt StuchlikScore: 4,813Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 21, 2024 11:064,77942,433,52513,254,0002,039,0002,289,664
2Jul 21, 2024 11:064,77931,053,82113,254,0002,039,0002,289,664
3Jul 21, 2024 11:064,78234,556,74013,261,0002,040,0002,527,232
4Jul 21, 2024 11:064,78436,159,07313,269,0002,041,0002,289,664
5Jul 21, 2024 11:064,80532,234,57513,327,0002,050,0002,289,664
6Jul 21, 2024 11:064,80837,513,82914,360,0001,025,0002,289,664
7Jul 21, 2024 11:064,81332,152,88314,375,0001,026,0002,523,136
8Jul 21, 2024 11:064,82336,904,56813,375,0002,057,0002,289,664
9Jul 21, 2024 11:064,82433,067,45614,409,0001,029,0002,289,664
10Jul 21, 2024 11:065,04783,066,62316,148,87802,289,664
11Jul 21, 2024 11:065,05090,139,37416,159,49402,297,856
12Jul 21, 2024 11:065,07091,350,13516,223,93202,293,760