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 23, 2022 00:52Robert BurkeRobert BurkeScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 23, 2022 00:524,64430,001,46912,879,0001,981,0002,281,472
2Jul 23, 2022 00:524,64433,787,98712,881,0001,981,0002,281,472
3Jul 23, 2022 00:524,64728,981,28413,880,000991,0002,281,472
4Jul 23, 2022 00:524,64728,052,98913,880,000991,0002,277,376
5Jul 23, 2022 00:524,64831,582,60512,890,0001,983,0002,281,472
6Jul 23, 2022 00:524,64941,708,31812,893,0001,983,0002,445,312
7Jul 23, 2022 00:524,65044,560,08412,897,0001,984,0002,281,472
8Jul 23, 2022 00:524,65339,563,46113,896,000992,0002,445,312
9Jul 23, 2022 00:524,65432,407,30212,907,0001,985,0002,281,472
10Jul 23, 2022 00:524,86156,282,69615,556,39202,203,648
11Jul 23, 2022 00:524,87593,232,26715,601,54702,199,552
12Jul 23, 2022 00:524,90692,028,19515,698,45602,207,744