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 listJul 14, 2024 11:23kytanskytansScore: 5,196Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 14, 2024 11:235,15437,695,05016,494,00002,277,376
2Jul 14, 2024 11:235,15535,049,76216,495,00002,494,464
3Jul 14, 2024 11:235,15739,350,63916,503,00002,494,464
4Jul 14, 2024 11:235,16337,999,03115,488,0001,032,0002,277,376
5Jul 14, 2024 11:235,17337,173,08016,554,00002,277,376
6Jul 14, 2024 11:235,18042,303,99116,575,00002,494,464
7Jul 14, 2024 11:235,19645,249,97716,627,00002,494,464
8Jul 14, 2024 11:235,20244,921,81115,605,0001,040,0002,498,560
9Jul 14, 2024 11:235,20346,671,25315,608,0001,040,0002,498,560
10Jul 14, 2024 11:235,43392,612,65717,384,84302,236,416
11Jul 14, 2024 11:235,46253,952,94417,477,14602,228,224
12Jul 14, 2024 11:235,49056,920,69517,567,79302,359,296