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 listOct 14, 2025 22:09CountHarebourgCountHarebourgScore: 4,490Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 14, 2025 22:094,43032,047,55913,163,0001,012,0002,428,928
2Oct 14, 2025 21:494,46529,625,72514,289,00002,437,120
3Oct 14, 2025 22:094,46829,635,63514,297,00002,424,832
4Oct 14, 2025 21:494,47530,850,17814,319,00002,531,328
5Oct 14, 2025 22:094,47739,054,92114,326,00002,531,328
6Oct 14, 2025 22:094,47834,765,79014,331,00002,433,024
7Oct 14, 2025 21:494,47935,871,13913,309,0001,023,0002,531,328
8Oct 14, 2025 21:494,48229,503,58713,318,0001,024,0002,531,328
9Oct 14, 2025 21:494,48337,982,21314,345,00002,428,928
10Oct 14, 2025 21:494,48429,485,51614,349,00002,428,928
11Oct 14, 2025 21:534,48428,966,27913,325,0001,025,0002,531,328
12Oct 14, 2025 21:534,48729,543,04113,333,0001,025,0002,420,736
13Oct 14, 2025 22:094,49030,642,56814,367,00002,433,024
14Oct 14, 2025 22:094,49131,662,53714,370,00002,531,328
15Oct 14, 2025 22:094,49145,373,71513,344,0001,026,0002,531,328
16Oct 14, 2025 22:094,49229,322,38413,348,0001,026,0002,428,928
17Oct 14, 2025 21:494,49530,686,20614,383,00002,433,024
18Oct 14, 2025 22:094,49736,208,38514,390,00002,531,328
19Oct 14, 2025 22:094,49831,029,26714,392,00002,531,328
20Oct 14, 2025 22:094,50035,836,13913,372,0001,028,0002,531,328
21Oct 14, 2025 21:534,51430,618,62014,445,00002,433,024
22Oct 14, 2025 22:094,52334,459,93514,475,00002,269,184
23Oct 14, 2025 21:494,52831,769,17714,490,00002,510,848
24Oct 14, 2025 21:494,53040,047,12613,462,0001,035,0002,519,040