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 10, 2025 07:41Ian MckibbenIan MckibbenScore: 5,750Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 10, 2025 07:415,73939,999,63816,324,0002,040,0002,289,664
2Jan 10, 2025 07:415,74233,771,59816,334,0002,041,0002,289,664
3Jan 10, 2025 07:415,74338,317,16618,379,00002,269,184
4Jan 10, 2025 07:415,74739,295,52116,347,0002,043,0002,281,472
5Jan 10, 2025 07:415,75042,040,26316,355,0002,044,0002,269,184
6Jan 10, 2025 07:415,75934,404,15718,429,00002,289,664
7Jan 10, 2025 07:415,76435,535,00616,395,0002,049,0002,277,376
8Jan 10, 2025 07:415,78940,097,05717,496,0001,029,0002,269,184
9Jan 10, 2025 07:415,79052,107,29716,470,0002,058,0002,277,376