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 listAug 20, 2022 13:23Eugene ZhydzetskiEugene ZhydzetskiScore: 5,894Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 20, 2022 13:235,82748,505,72317,610,0001,035,0002,531,328
2Aug 20, 2022 13:235,83541,805,29717,635,0001,037,0002,334,720
3Aug 20, 2022 13:235,84139,453,98518,692,00002,334,720
4Aug 20, 2022 13:235,84547,918,91917,664,0001,039,0002,334,720
5Aug 20, 2022 13:235,84748,270,53718,709,00002,334,720
6Aug 20, 2022 13:235,88942,191,08016,861,0001,983,0002,535,424
7Aug 20, 2022 13:235,89446,943,04417,870,000992,0002,334,720
8Aug 20, 2022 13:235,89951,634,83116,891,0001,987,0002,334,720
9Aug 20, 2022 13:235,90349,117,77215,906,0002,982,0002,334,720
10Aug 20, 2022 13:235,91090,021,85718,912,65702,256,896
11Aug 20, 2022 13:235,94791,427,38419,031,42902,244,608
12Aug 20, 2022 13:236,018119,392,73319,257,93502,236,416