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 listOct 28, 2024 19:12ndrenndrenScore: 23,115Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 28, 2024 19:1223,07399,577,48049,889,00023,946,0002,289,664
2Oct 28, 2024 19:1223,078102,352,43447,902,00025,947,0002,482,176
3Oct 28, 2024 19:1223,08199,323,69952,900,00020,960,0002,289,664
4Oct 28, 2024 19:1223,11595,635,27156,975,00016,992,0002,478,080
5Oct 28, 2024 19:1223,115101,537,89252,978,00020,991,0002,486,272
6Oct 28, 2024 19:1223,130101,415,73451,012,00023,005,0002,289,664
7Oct 28, 2024 19:1223,14494,613,91549,041,00025,021,0002,318,336
8Oct 28, 2024 19:1223,15299,156,14646,054,00028,033,0002,486,272
9Oct 28, 2024 19:1223,255100,114,01945,254,00029,163,0002,281,472