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 listNov 29, 2024 17:22Joad NacerJoad NacerScore: 4,438Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 17:224,40630,586,76913,093,0001,007,0002,531,328
2Nov 29, 2024 17:224,40832,487,40813,100,0001,007,0002,531,328
3Nov 29, 2024 17:224,40930,429,94713,101,0001,007,0002,424,832
4Nov 29, 2024 17:224,41929,122,63412,122,0002,020,0002,437,120
5Nov 29, 2024 17:224,42334,839,58113,143,0001,011,0002,531,328
6Nov 29, 2024 17:224,42527,412,20613,148,0001,011,0002,437,120
7Nov 29, 2024 17:224,42732,966,49213,155,0001,011,0002,531,328
8Nov 29, 2024 17:224,43042,220,80813,163,0001,012,0002,531,328
9Nov 29, 2024 17:224,43530,196,74113,180,0001,013,0002,531,328
10Nov 29, 2024 17:224,43830,049,83613,188,0001,014,0002,531,328
11Nov 29, 2024 17:224,43832,299,78113,187,0001,014,0002,428,928
12Nov 29, 2024 17:224,44232,661,12913,198,0001,015,0002,437,120
13Nov 29, 2024 17:224,44232,508,67412,184,0002,030,0002,531,328
14Nov 29, 2024 17:224,44628,433,36713,210,0001,016,0002,437,120
15Nov 29, 2024 17:224,44939,738,00013,221,0001,017,0002,531,328
16Nov 29, 2024 17:224,46027,980,04812,233,0002,038,0002,510,848
17Nov 29, 2024 17:224,48333,226,08012,296,0002,049,0002,428,928
18Nov 29, 2024 17:224,48640,037,48313,329,0001,025,0002,531,328
19Nov 29, 2024 17:224,53437,272,11814,509,00002,428,928
20Nov 29, 2024 17:224,54843,529,50714,554,00002,437,120
21Nov 29, 2024 17:224,57839,552,85813,604,0001,046,0002,531,328