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 3, 2023 20:49Hal FHal FScore: 4,752Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 20:494,72844,396,32213,114,0002,017,0002,289,664
2Jan 3, 2023 20:494,73132,975,45814,129,0001,009,0002,289,664
3Jan 3, 2023 20:494,74332,596,76813,153,0002,023,0002,289,664
4Jan 3, 2023 20:494,74633,134,71514,176,0001,012,0002,289,664
5Jan 3, 2023 20:494,74732,609,42013,166,0002,025,0002,531,328
6Jan 3, 2023 20:494,75036,404,38413,175,0002,026,0002,367,488
7Jan 3, 2023 20:494,75231,342,51813,180,0002,027,0002,289,664
8Jan 3, 2023 20:494,76439,437,56814,230,0001,016,0002,277,376
9Jan 3, 2023 20:494,77731,273,96513,248,0002,038,0002,289,664
10Jan 3, 2023 20:494,95991,877,04715,869,45902,301,952
11Jan 3, 2023 20:494,99879,204,87915,993,32002,293,760
12Jan 3, 2023 20:495,00489,813,81016,011,76502,301,952