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 24, 2022 12:06Robert BurkeRobert BurkeScore: 4,456Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2022 12:064,42926,780,78112,148,0002,024,0002,457,600
2Jul 24, 2022 12:064,43128,846,71212,153,0002,025,0002,453,504
3Jul 24, 2022 12:064,43127,467,93512,155,0002,025,0002,445,312
4Jul 24, 2022 12:064,44732,365,93112,197,0002,032,0002,281,472
5Jul 24, 2022 12:064,45234,110,28712,211,0002,035,0002,449,408
6Jul 24, 2022 12:064,45334,198,95012,215,0002,035,0002,449,408
7Jul 24, 2022 12:064,45635,161,78513,242,0001,018,0002,453,504
8Jul 24, 2022 12:064,46030,770,10213,254,0001,019,0002,277,376
9Jul 24, 2022 12:064,47132,290,26012,264,0002,044,0002,441,216
10Jul 24, 2022 12:064,71578,720,41615,087,79802,203,648
11Jul 24, 2022 12:064,717100,873,59815,095,86702,195,456
12Jul 24, 2022 12:064,72069,795,89815,103,05902,203,648