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, 2024 18:06zielajzielajScore: 4,160Success
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, 2024 18:064,13331,342,09112,209,0001,017,0002,531,328
2Aug 22, 2024 18:064,13640,328,31912,218,0001,018,0002,269,184
3Aug 22, 2024 18:064,14031,021,56412,228,0001,019,0002,494,464
4Aug 22, 2024 18:064,14331,575,73513,257,00002,531,328
5Aug 22, 2024 18:064,14437,134,01513,260,00002,498,560
6Aug 22, 2024 18:064,14734,533,57313,269,00002,490,368
7Aug 22, 2024 18:064,14829,491,22913,273,00002,494,464
8Aug 22, 2024 18:064,15031,094,64813,279,00002,269,184
9Aug 22, 2024 18:064,15028,575,05713,280,00002,531,328
10Aug 22, 2024 18:064,15233,721,68613,286,00002,482,176
11Aug 22, 2024 18:064,15225,849,45613,286,00002,494,464
12Aug 22, 2024 18:064,15534,458,98513,295,00002,494,464
13Aug 22, 2024 18:064,16030,240,10013,312,00002,531,328
14Aug 22, 2024 18:064,16531,375,21013,329,00002,269,184
15Aug 22, 2024 18:064,16730,673,86013,335,00002,269,184
16Aug 22, 2024 18:064,17329,553,43713,354,00002,531,328
17Aug 22, 2024 18:064,17739,047,01712,337,0001,028,0002,494,464
18Aug 22, 2024 18:064,19527,678,63612,391,0001,032,0002,531,328
19Aug 22, 2024 18:064,40258,407,03914,087,55402,269,184
20Aug 22, 2024 18:064,41161,581,72814,115,68302,232,320
21Aug 22, 2024 18:064,41459,414,52214,126,23202,371,584
22Aug 22, 2024 18:064,43182,926,90614,179,14202,244,608
23Aug 22, 2024 18:064,43352,014,80314,185,00502,248,704
24Aug 22, 2024 18:064,466105,120,56014,290,83202,232,320