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 listJan 23, 2024 19:18AnSaAnSaScore: 5,228Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 23, 2024 19:185,19333,191,01515,581,0001,038,0002,396,160
2Jan 23, 2024 19:185,19847,047,29316,633,00002,396,160
3Jan 23, 2024 19:185,20341,890,72615,611,0001,040,0002,400,256
4Jan 23, 2024 19:185,20643,638,71915,619,0001,041,0002,396,160
5Jan 23, 2024 19:185,20846,255,09415,626,0001,041,0002,392,064
6Jan 23, 2024 19:185,20948,493,13916,668,00002,281,472
7Jan 23, 2024 19:185,21245,803,23916,677,00002,396,160
8Jan 23, 2024 19:185,21544,753,51416,688,00002,281,472
9Jan 23, 2024 19:185,21633,970,54716,692,00002,396,160
10Jan 23, 2024 19:185,21643,900,20116,692,00002,281,472
11Jan 23, 2024 19:185,22038,378,57716,704,00002,506,752
12Jan 23, 2024 19:185,22043,331,35416,705,00002,396,160
13Jan 23, 2024 19:185,22833,208,48316,728,00002,281,472
14Jan 23, 2024 19:185,26046,570,48914,852,0001,980,0002,400,256
15Jan 23, 2024 19:185,26933,679,84116,860,00002,281,472
16Jan 23, 2024 19:185,27335,407,62914,888,0001,985,0002,396,160
17Jan 23, 2024 19:185,27333,852,37815,880,000992,0002,392,064
18Jan 23, 2024 19:185,27439,784,90115,885,000992,0002,387,968
19Jan 23, 2024 19:185,40479,790,44017,293,89902,285,568
20Jan 23, 2024 19:185,41085,538,52017,311,69302,277,376
21Jan 23, 2024 19:185,41993,092,63717,341,65802,281,472
22Jan 23, 2024 19:185,42592,467,18917,360,72802,281,472
23Jan 23, 2024 19:185,44577,381,77817,425,53902,285,568
24Jan 23, 2024 19:185,44654,658,59517,426,37602,281,472