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:13ndrenndrenScore: 23,144Success
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:1323,07599,637,61548,894,00024,946,0002,482,176
2Oct 28, 2024 19:1323,078102,452,71749,898,00023,951,0002,289,664
3Oct 28, 2024 19:1323,091100,478,78056,916,00016,975,0002,281,472
4Oct 28, 2024 19:1323,116100,130,42165,974,0007,996,0002,289,664
5Oct 28, 2024 19:1323,14496,587,22237,031,00037,031,0002,281,472
6Oct 28, 2024 19:1323,147101,719,35060,056,00014,013,0002,486,272
7Oct 28, 2024 19:1323,18897,075,51743,116,00031,084,0002,281,472
8Oct 28, 2024 19:1323,19297,446,16335,101,00039,112,0002,281,472
9Oct 28, 2024 19:1323,344102,393,58056,531,00018,170,0002,289,664