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,454Success
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,44136,081,10513,195,0001,015,0002,531,328
2Nov 29, 2024 17:224,44433,877,02013,206,0001,015,0002,531,328
3Nov 29, 2024 17:224,44527,734,39513,209,0001,016,0002,428,928
4Nov 29, 2024 17:224,44829,697,49413,216,0001,016,0002,269,184
5Nov 29, 2024 17:224,44933,677,83613,221,0001,017,0002,428,928
6Nov 29, 2024 17:224,45226,375,57913,228,0001,017,0002,510,848
7Nov 29, 2024 17:224,45230,348,73613,229,0001,017,0002,437,120
8Nov 29, 2024 17:224,45438,570,18612,216,0002,036,0002,428,928
9Nov 29, 2024 17:224,45531,103,27613,239,0001,018,0002,531,328
10Nov 29, 2024 17:224,45831,156,73513,248,0001,019,0002,531,328
11Nov 29, 2024 17:224,46435,313,52613,266,0001,020,0002,428,928
12Nov 29, 2024 17:224,46835,090,05813,278,0001,021,0002,269,184
13Nov 29, 2024 17:224,48135,128,33414,339,00002,531,328
14Nov 29, 2024 17:224,58129,639,64614,658,00002,510,848
15Nov 29, 2024 17:224,70338,321,24714,048,0001,003,0002,531,328