A sensor driver needs to create a SensorData structure dynamically at runtime, fill it with readings, and process it.
SensorData
You must:
x
y
z
new
x y z
Free the allocated memory using delete.
delete
Example 1
Input:
3 4 5
Output:
Example 2
10 20 30
Constraints:
int
Test Cases
Test Results
Input
Expected Output