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 listSep 29, 2025 14:43sheryllynn24sheryllynn24Score: 2,985,570Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 29, 2025 14:432,970,7419,537,869,0899,474,388,00031,984,0002,289,664
2Sep 29, 2025 14:432,970,9109,534,429,0929,469,928,00036,984,0002,277,376
3Sep 29, 2025 14:432,971,2869,535,689,0709,470,134,00037,980,0002,277,376
4Sep 29, 2025 14:432,976,0599,551,068,4049,493,404,00029,985,0002,277,376
5Sep 29, 2025 14:432,985,5709,579,300,6869,525,840,00027,984,0002,289,664
6Sep 29, 2025 14:432,990,8919,595,951,9819,536,870,00033,981,0002,277,376
7Sep 29, 2025 14:433,026,5349,714,529,3909,655,926,00028,984,0002,260,992
8Sep 29, 2025 14:433,078,3119,882,128,5589,830,605,00019,991,0002,277,376
9Sep 29, 2025 14:433,097,2219,940,853,7159,881,125,00029,982,0002,519,040