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 listAug 3, 2024 05:07jeffplaisancejeffplaisanceScore: 4,492Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 3, 2024 05:074,45333,163,87812,215,0002,035,0002,269,184
2Aug 3, 2024 05:074,46029,719,79414,273,00002,404,352
3Aug 3, 2024 05:074,46330,111,89113,263,0001,020,0002,281,472
4Aug 3, 2024 05:074,47030,927,79913,282,0001,021,0002,281,472
5Aug 3, 2024 05:074,47939,131,08413,309,0001,023,0002,281,472
6Aug 3, 2024 05:074,48831,186,82714,362,00002,400,256
7Aug 3, 2024 05:074,49235,805,60614,373,00002,281,472
8Aug 3, 2024 05:074,49732,744,92114,390,00002,519,040
9Aug 3, 2024 05:074,50132,623,53213,376,0001,028,0002,510,848
10Aug 3, 2024 05:074,72996,435,89515,131,23502,289,664
11Aug 3, 2024 05:074,74186,452,54915,172,17502,297,856
12Aug 3, 2024 05:074,75180,670,76515,202,39302,301,952