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 29, 2024 17:39gviaugviauScore: 5,798Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 17:395,73347,871,45716,309,0002,038,0002,289,664
2Jul 29, 2024 17:395,73544,537,53916,312,0002,039,0002,273,280
3Jul 29, 2024 17:395,74638,525,65317,365,0001,021,0002,289,664
4Jul 29, 2024 17:395,74834,623,76816,351,0002,043,0002,289,664
5Jul 29, 2024 17:395,75841,521,87417,402,0001,023,0002,269,184
6Jul 29, 2024 17:395,79633,328,55818,548,00002,531,328
7Jul 29, 2024 17:395,79838,788,33317,524,0001,030,0002,269,184
8Jul 29, 2024 17:395,79943,701,01918,556,00002,289,664
9Jul 29, 2024 17:395,80741,951,45517,549,0001,032,0002,269,184
10Jul 29, 2024 17:395,99693,072,94119,186,23702,297,856
11Jul 29, 2024 17:396,061123,531,81819,395,77202,306,048
12Jul 29, 2024 17:396,085100,998,22519,471,91502,306,048