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 29, 2025 11:23KeefeKeefeScore: 6,003Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 29, 2025 11:235,97542,058,59817,109,0002,012,0002,281,472
2Jan 29, 2025 11:235,98342,128,59818,138,0001,007,0002,277,376
3Jan 29, 2025 11:235,98542,485,44917,136,0002,016,0002,281,472
4Jan 29, 2025 11:235,99642,796,85017,169,0002,019,0002,273,280
5Jan 29, 2025 11:236,00341,565,55117,187,0002,022,0002,281,472
6Jan 29, 2025 11:236,01648,524,75018,239,0001,013,0002,281,472
7Jan 29, 2025 11:236,01747,911,88117,228,0002,026,0002,281,472
8Jan 29, 2025 11:236,02848,534,20917,258,0002,030,0002,281,472
9Jan 29, 2025 11:236,03038,158,87717,265,0002,031,0002,281,472