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 listJun 30, 2023 16:48Alexander MonakovAlexander MonakovScore: 4,552Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2023 16:504,50032,611,55514,399,00002,494,464
2Jun 30, 2023 16:484,50339,752,15014,411,00002,277,376
3Jun 30, 2023 16:484,51229,989,58214,439,00002,277,376
4Jun 30, 2023 16:504,51331,513,24714,443,00002,486,272
5Jun 30, 2023 16:484,51529,753,27714,448,00002,273,280
6Jun 30, 2023 16:484,51645,383,51214,450,00002,277,376
7Jun 30, 2023 16:484,51632,525,19014,450,00002,277,376
8Jun 30, 2023 16:504,51729,470,13914,453,00002,498,560
9Jun 30, 2023 16:484,52234,653,52514,471,00002,277,376
10Jun 30, 2023 16:504,52831,408,05014,489,00002,277,376
11Jun 30, 2023 16:504,53035,276,84414,496,00002,490,368
12Jun 30, 2023 16:484,53329,595,42014,505,00002,498,560
13Jun 30, 2023 16:484,53435,028,92414,509,00002,502,656
14Jun 30, 2023 16:484,53632,224,39314,516,00002,494,464
15Jun 30, 2023 16:504,53831,990,67414,520,00002,498,560
16Jun 30, 2023 16:484,54231,816,60514,535,00002,277,376
17Jun 30, 2023 16:504,54231,102,56413,496,0001,038,0002,502,656
18Jun 30, 2023 16:484,54335,969,57814,538,00002,277,376
19Jun 30, 2023 16:484,55230,868,20213,525,0001,040,0002,498,560
20Jun 30, 2023 16:484,55429,256,64814,573,00002,498,560
21Jun 30, 2023 16:504,55532,481,52514,575,00002,277,376
22Jun 30, 2023 16:484,56037,616,17414,593,00002,498,560
23Jun 30, 2023 16:504,56236,053,89314,599,00002,494,464
24Jun 30, 2023 16:484,56231,329,43214,597,00002,277,376
25Jun 30, 2023 16:484,56537,885,67813,635,000973,0002,277,376
26Jun 30, 2023 16:484,57339,518,55713,587,0001,045,0002,494,464
27Jun 30, 2023 16:484,57336,469,36814,635,00002,535,424
28Jun 30, 2023 16:484,75471,489,03615,211,92502,256,896
29Jun 30, 2023 16:504,75881,576,79215,226,66902,244,608
30Jun 30, 2023 16:484,75972,656,58115,228,76102,248,704
31Jun 30, 2023 16:484,76886,191,11815,258,28302,240,512
32Jun 30, 2023 16:484,77389,453,00015,273,92802,236,416
33Jun 30, 2023 16:504,79187,425,50815,331,40902,248,704
34Jun 30, 2023 16:484,80272,291,30615,365,71402,248,704
35Jun 30, 2023 16:484,80480,534,74315,371,22802,248,704
36Jun 30, 2023 16:504,83476,757,55015,470,38802,236,416