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:12Robert BurkeRobert BurkeScore: 4,450Success
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:124,42831,328,46012,146,0002,024,0002,445,312
2Jul 24, 2022 12:124,43233,469,47112,157,0002,026,0002,445,312
3Jul 24, 2022 12:124,43531,369,35212,166,0002,027,0002,453,504
4Jul 24, 2022 12:124,43933,715,93112,176,0002,029,0002,281,472
5Jul 24, 2022 12:124,44035,681,64612,179,0002,029,0002,281,472
6Jul 24, 2022 12:124,44640,290,17012,195,0002,032,0002,449,408
7Jul 24, 2022 12:124,45029,637,01812,207,0002,034,0002,281,472
8Jul 24, 2022 12:124,45337,132,69012,214,0002,035,0002,441,216
9Jul 24, 2022 12:124,47630,867,71413,299,0001,023,0002,453,504
10Jul 24, 2022 12:124,68873,121,64515,002,01202,211,840
11Jul 24, 2022 12:124,69081,908,44315,009,42402,195,456
12Jul 24, 2022 12:124,71583,232,12815,088,15102,207,744