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 27, 2022 11:51Robert BurkeRobert BurkeScore: 4,469Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2022 11:514,42328,472,80512,131,0002,021,0002,281,472
2Jul 27, 2022 11:514,42636,590,92212,141,0002,023,0002,449,408
3Jul 27, 2022 11:514,42933,431,22812,148,0002,024,0002,441,216
4Jul 27, 2022 11:514,44336,113,44712,188,0002,031,0002,281,472
5Jul 27, 2022 11:514,46329,170,86813,262,0001,020,0002,277,376
6Jul 27, 2022 11:514,46327,604,66112,243,0002,040,0002,441,216
7Jul 27, 2022 11:514,46934,988,06613,280,0001,021,0002,445,312
8Jul 27, 2022 11:514,47028,065,47813,283,0001,021,0002,281,472
9Jul 27, 2022 11:514,48335,466,68913,320,0001,024,0002,445,312
10Jul 27, 2022 11:514,69579,973,09115,024,37902,207,744
11Jul 27, 2022 11:514,70689,053,99615,059,22902,211,840
12Jul 27, 2022 11:514,720114,590,54915,104,94402,203,648