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 listDec 26, 2021 23:27Alexander KimAlexander KimScore: 5,715Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 26, 2021 23:275,67845,027,59317,160,0001,009,0002,306,048
2Dec 26, 2021 23:275,68345,996,12316,164,0002,020,0002,310,144
3Dec 26, 2021 23:275,68544,262,23116,170,0002,021,0002,314,240
4Dec 26, 2021 23:275,68644,604,86317,184,0001,010,0002,306,048
5Dec 26, 2021 23:275,69943,748,82416,212,0002,026,0002,306,048
6Dec 26, 2021 23:275,71337,478,89616,250,0002,031,0002,334,720
7Dec 26, 2021 23:275,71598,979,39518,286,54902,281,472
8Dec 26, 2021 23:275,71644,583,48516,259,0002,032,0002,334,720
9Dec 26, 2021 23:275,72138,345,33817,291,0001,017,0002,334,720
10Dec 26, 2021 23:275,72141,225,32415,257,0003,051,0002,334,720
11Dec 26, 2021 23:275,72376,917,52618,313,56202,277,376
12Dec 26, 2021 23:275,73775,814,21918,357,60402,277,376