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 11:34Robert BurkeRobert BurkeScore: 4,523Success
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 11:344,49731,301,26213,363,0001,027,0002,445,312
2Jul 24, 2022 11:344,50328,079,13113,380,0001,029,0002,277,376
3Jul 24, 2022 11:344,51732,381,90113,423,0001,032,0002,281,472
4Jul 24, 2022 11:344,51835,141,34513,425,0001,032,0002,445,312
5Jul 24, 2022 11:344,51836,282,72713,427,0001,032,0002,281,472
6Jul 24, 2022 11:344,52229,867,58413,438,0001,033,0002,281,472
7Jul 24, 2022 11:344,52335,389,90613,441,0001,033,0002,281,472
8Jul 24, 2022 11:344,53230,738,61013,467,0001,035,0002,453,504
9Jul 24, 2022 11:344,53430,317,05013,473,0001,036,0002,445,312
10Jul 24, 2022 11:344,76779,910,20915,254,72002,211,840
11Jul 24, 2022 11:344,77379,959,35215,274,45802,195,456
12Jul 24, 2022 11:344,77782,115,31415,286,38002,207,744