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 listNov 7, 2024 15:56CountHarebourgCountHarebourgScore: 5,759Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 7, 2024 15:575,70046,307,93816,213,0002,026,0002,269,184
2Nov 7, 2024 15:595,72641,158,41216,288,0002,036,0002,277,376
3Nov 7, 2024 15:575,73049,078,76816,299,0002,037,0002,531,328
4Nov 7, 2024 15:565,73542,150,54617,332,0001,019,0002,289,664
5Nov 7, 2024 15:565,75339,908,64717,389,0001,022,0002,527,232
6Nov 7, 2024 15:565,75747,931,06418,421,00002,289,664
7Nov 7, 2024 15:595,75944,517,63817,406,0001,023,0002,289,664
8Nov 7, 2024 15:575,77043,521,45217,440,0001,025,0002,289,664
9Nov 7, 2024 15:565,77847,138,21018,489,00002,289,664
10Nov 7, 2024 15:565,79044,353,26017,500,0001,029,0002,269,184
11Nov 7, 2024 15:595,79445,189,06418,540,00002,265,088
12Nov 7, 2024 15:565,90346,972,22616,900,0001,988,0002,289,664