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 19, 2022 17:57Eugene ZhydzetskiEugene ZhydzetskiScore: 6,000Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 19, 2022 17:575,92937,104,91016,976,0001,997,0002,535,424
2Aug 19, 2022 17:575,94433,005,27716,018,0003,003,0002,285,568
3Aug 19, 2022 17:575,95043,736,84417,035,0002,004,0002,334,720
4Aug 19, 2022 17:575,97744,975,75318,120,0001,006,0002,334,720
5Aug 19, 2022 17:575,97846,567,09218,123,0001,006,0002,285,568
6Aug 19, 2022 17:575,99543,960,92018,175,0001,009,0002,535,424
7Aug 19, 2022 17:576,00045,610,21617,180,0002,021,0002,535,424
8Aug 19, 2022 17:576,00337,588,50718,200,0001,011,0002,334,720
9Aug 19, 2022 17:576,00547,192,47617,194,0002,022,0002,285,568
10Aug 19, 2022 17:576,02482,837,52319,276,17302,252,800
11Aug 19, 2022 17:576,11484,317,38519,563,74902,244,608
12Aug 19, 2022 17:576,15586,712,81419,695,72802,256,896