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 listMar 14, 2025 22:26xpwxpwScore: 2,769,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 14, 2025 22:262,760,8488,863,156,6848,778,736,00055,979,0002,277,376
2Mar 14, 2025 22:262,765,5168,875,728,1718,811,669,00037,981,0002,523,136
3Mar 14, 2025 22:262,766,1588,883,292,1838,825,715,00025,990,0002,277,376
4Mar 14, 2025 22:262,768,6268,886,710,9808,834,617,00024,987,0002,289,664
5Mar 14, 2025 22:262,769,7568,894,243,7968,823,237,00039,982,0002,277,376
6Mar 14, 2025 22:262,771,9008,897,314,9568,842,092,00027,987,0002,289,664
7Mar 14, 2025 22:262,775,8758,914,072,0528,843,814,00038,985,0002,277,376
8Mar 14, 2025 22:262,854,2699,168,164,9729,105,674,00027,986,0002,277,376
9Mar 14, 2025 22:262,854,8239,166,380,2639,097,447,00037,985,0002,289,664