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 22, 2022 09:50Eugene ZhydzetskiEugene ZhydzetskiScore: 6,060Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 22, 2022 09:506,00742,621,92617,199,0002,023,0002,543,616
2Aug 22, 2022 09:506,01233,276,67818,225,0001,012,0002,535,424
3Aug 22, 2022 09:506,03137,691,29617,267,0002,031,0002,334,720
4Aug 22, 2022 09:506,03745,654,26218,302,0001,016,0002,285,568
5Aug 22, 2022 09:506,04441,909,04718,324,0001,018,0002,326,528
6Aug 22, 2022 09:506,06076,607,18719,391,15102,252,800
7Aug 22, 2022 09:506,06048,819,19817,351,0002,041,0002,531,328
8Aug 22, 2022 09:506,06646,044,45517,368,0002,043,0002,535,424
9Aug 22, 2022 09:506,07331,012,15819,432,00002,535,424
10Aug 22, 2022 09:506,08546,782,42419,473,00002,543,616
11Aug 22, 2022 09:506,12670,012,68819,603,50102,248,704
12Aug 22, 2022 09:506,14290,999,00319,653,56102,252,800