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 listNov 29, 2024 19:21Joad NacerJoad NacerScore: 4,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 29, 2024 19:214,33429,138,38213,868,00002,428,928
2Nov 29, 2024 19:214,33729,504,65612,887,000991,0002,437,120
3Nov 29, 2024 19:214,33835,860,19412,891,000991,0002,531,328
4Nov 29, 2024 19:214,33927,228,35912,894,000991,0002,531,328
5Nov 29, 2024 19:214,33940,253,91212,894,000991,0002,531,328
6Nov 29, 2024 19:214,34138,812,50612,899,000992,0002,269,184
7Nov 29, 2024 19:214,34834,677,17512,921,000993,0002,510,848
8Nov 29, 2024 19:214,34831,072,66613,915,00002,510,848
9Nov 29, 2024 19:214,34930,034,83912,924,000994,0002,433,024
10Nov 29, 2024 19:214,35933,367,20612,952,000996,0002,428,928
11Nov 29, 2024 19:214,38131,592,62413,017,0001,001,0002,531,328
12Nov 29, 2024 19:214,49233,907,64813,348,0001,026,0002,424,832