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 13, 2024 20:06zielajzielajScore: 4,338Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Aug 13, 2024 20:064,29027,723,56512,672,0001,056,0002,273,280
2Aug 13, 2024 20:064,29829,253,52412,696,0001,058,0002,535,424
3Aug 13, 2024 20:064,32828,543,58312,860,000989,0002,441,216
4Aug 13, 2024 20:064,33029,876,11311,878,0001,979,0002,445,312
5Aug 13, 2024 20:064,33533,314,58811,891,0001,981,0002,535,424
6Aug 13, 2024 20:064,33833,433,67011,898,0001,983,0002,453,504
7Aug 13, 2024 20:064,33834,732,43311,900,0001,983,0002,535,424
8Aug 13, 2024 20:064,33930,717,83811,902,0001,983,0002,441,216
9Aug 13, 2024 20:064,33929,260,06312,895,000991,0002,445,312
10Aug 13, 2024 20:064,56385,558,69714,602,84102,207,744
11Aug 13, 2024 20:064,57556,739,39114,638,58102,199,552
12Aug 13, 2024 20:064,60795,643,38214,741,59402,334,720