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 18:38Joad NacerJoad NacerScore: 4,343Success
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 18:384,32828,170,48812,861,000989,0002,510,848
2Nov 29, 2024 18:374,33927,767,10712,895,000991,0002,437,120
3Nov 29, 2024 18:384,33937,830,65212,893,000991,0002,531,328
4Nov 29, 2024 18:374,34130,317,63512,898,000992,0002,428,928
5Nov 29, 2024 18:384,34130,915,96712,900,000992,0002,433,024
6Nov 29, 2024 18:384,34238,324,71912,903,000992,0002,269,184
7Nov 29, 2024 18:384,34336,730,86212,905,000992,0002,420,736
8Nov 29, 2024 18:384,34532,303,83712,911,000993,0002,531,328
9Nov 29, 2024 18:384,34638,281,84212,915,000993,0002,510,848
10Nov 29, 2024 18:374,34731,754,81412,916,000993,0002,531,328
11Nov 29, 2024 18:384,34828,947,53612,919,000993,0002,510,848
12Nov 29, 2024 18:384,35930,467,55012,952,000996,0002,437,120