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 15:58Eugene ZhydzetskiEugene ZhydzetskiScore: 5,986Success
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 15:585,94641,678,90318,026,0001,001,0002,289,664
2Aug 22, 2022 15:585,94748,983,60718,028,0001,001,0002,543,616
3Aug 22, 2022 15:585,95044,407,64817,037,0002,004,0002,334,720
4Aug 22, 2022 15:585,95835,467,19116,057,0003,010,0002,281,472
5Aug 22, 2022 15:585,96543,517,14018,083,0001,004,0002,535,424
6Aug 22, 2022 15:585,96749,170,54417,085,0002,010,0002,334,720
7Aug 22, 2022 15:585,98650,207,40918,148,0001,008,0002,334,720
8Aug 22, 2022 15:585,98849,748,25618,153,0001,008,0002,285,568
9Aug 22, 2022 15:585,99342,441,32717,159,0002,018,0002,535,424
10Aug 22, 2022 15:586,01592,711,47419,248,89102,248,704
11Aug 22, 2022 15:586,023102,950,20519,273,95002,248,704
12Aug 22, 2022 15:586,11191,273,34619,556,72602,256,896