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 18, 2024 19:29AnSaAnSaScore: 5,278Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 18, 2024 19:295,23140,162,93615,694,0001,046,0002,383,872
2Jan 18, 2024 19:295,26734,652,55715,862,000991,0002,379,776
3Jan 18, 2024 19:295,27143,838,22714,882,0001,984,0002,269,184
4Jan 18, 2024 19:295,27247,264,63716,871,00002,269,184
5Jan 18, 2024 19:295,27333,759,22915,883,000992,0002,269,184
6Jan 18, 2024 19:295,27647,874,47314,897,0001,986,0002,269,184
7Jan 18, 2024 19:295,27845,227,42815,897,000993,0002,269,184
8Jan 18, 2024 19:295,28234,221,10315,907,000994,0002,531,328
9Jan 18, 2024 19:295,28231,609,56314,914,0001,988,0002,269,184
10Jan 18, 2024 19:295,47180,337,78617,508,28902,269,184
11Jan 18, 2024 19:295,47554,868,26817,520,61002,248,704
12Jan 18, 2024 19:295,51359,911,79817,642,28002,260,992