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 22, 2024 09:19Alexander MonakovAlexander MonakovScore: 4,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 22, 2024 09:194,64937,618,25213,886,000991,0002,494,464
2Jan 22, 2024 09:194,65833,309,54013,914,000993,0002,277,376
3Jan 22, 2024 09:194,66631,092,17613,935,000995,0002,277,376
4Jan 22, 2024 09:194,66632,176,36913,937,000995,0002,277,376
5Jan 22, 2024 09:194,67036,010,35613,949,000996,0002,494,464
6Jan 22, 2024 09:194,67330,561,20813,956,000996,0002,498,560
7Jan 22, 2024 09:194,67337,499,41612,960,0001,993,0002,277,376
8Jan 22, 2024 09:194,67534,883,62113,962,000997,0002,277,376
9Jan 22, 2024 09:194,68740,280,94613,998,000999,0002,498,560
10Jan 22, 2024 09:194,89881,402,54615,672,13002,236,416
11Jan 22, 2024 09:194,91379,038,18915,720,72602,248,704
12Jan 22, 2024 09:194,93689,603,48215,794,73802,240,512