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 8, 2021 16:49Yuriy LyfenkoYuriy LyfenkoScore: 4,522Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2021 16:494,483537,911,12713,322,0001,024,0002,527,232
2Jul 8, 2021 16:494,492535,910,84513,347,0001,026,0002,265,088
3Jul 8, 2021 16:494,494537,160,11714,381,00002,523,136
4Jul 8, 2021 16:494,507536,151,02114,423,00002,523,136
5Jul 8, 2021 16:494,513536,412,06613,412,0001,031,0002,523,136
6Jul 8, 2021 16:494,516536,965,52813,418,0001,032,0002,383,872
7Jul 8, 2021 16:494,522538,757,60714,471,00002,523,136
8Jul 8, 2021 16:494,524537,385,31413,442,0001,034,0002,260,992
9Jul 8, 2021 16:494,539542,789,90013,488,0001,037,0002,523,136
10Jul 8, 2021 16:494,658568,862,80014,906,61202,244,608
11Jul 8, 2021 16:494,664579,288,00514,925,19102,273,280
12Jul 8, 2021 16:494,679583,781,17114,974,02202,244,608