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 listApr 18, 2024 19:34Robert BurkeRobert BurkeScore: 4,415Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 18, 2024 19:244,39634,101,12212,059,0002,009,0002,445,312
2Apr 18, 2024 19:344,39829,056,98112,063,0002,010,0002,445,312
3Apr 18, 2024 19:244,40031,908,70712,070,0002,011,0002,449,408
4Apr 18, 2024 19:244,40034,627,19912,068,0002,011,0002,445,312
5Apr 18, 2024 19:344,40138,179,74912,071,0002,011,0002,281,472
6Apr 18, 2024 19:344,40631,505,33712,085,0002,014,0002,281,472
7Apr 18, 2024 19:244,40632,718,89112,084,0002,014,0002,281,472
8Apr 18, 2024 19:244,40737,838,77012,087,0002,014,0002,449,408
9Apr 18, 2024 19:244,40934,669,06812,095,0002,015,0002,445,312
10Apr 18, 2024 19:344,41029,615,68212,096,0002,016,0002,281,472
11Apr 18, 2024 19:344,41432,326,50712,108,0002,018,0002,281,472
12Apr 18, 2024 19:244,41540,665,63312,109,0002,018,0002,281,472
13Apr 18, 2024 19:244,41529,155,62012,109,0002,018,0002,445,312
14Apr 18, 2024 19:344,41526,028,91312,111,0002,018,0002,281,472
15Apr 18, 2024 19:244,42731,846,58412,142,0002,023,0002,281,472
16Apr 18, 2024 19:344,43026,505,09712,150,0002,025,0002,535,424
17Apr 18, 2024 19:344,43232,044,34512,156,0002,026,0002,281,472
18Apr 18, 2024 19:344,43330,858,52812,161,0002,026,0002,281,472
19Apr 18, 2024 19:244,69877,639,74815,034,21402,203,648
20Apr 18, 2024 19:344,69883,400,66615,033,46902,199,552
21Apr 18, 2024 19:344,70378,315,95215,050,60302,203,648
22Apr 18, 2024 19:244,71554,991,45315,088,50602,195,456
23Apr 18, 2024 19:244,750100,344,10115,201,08202,203,648
24Apr 18, 2024 19:344,76190,540,33715,233,74002,195,456