Hide

Problem A
KTH MF2095 - Programming Task - Based on Exercise 17

Canvas

See the instructions on Canvas under https://canvas.kth.se/courses/28855/assignments.

Sample Input 1 Sample Output 1
0x8000000
0xc000000
0x10000000
0x14000000
0x2001
0x1c00000a
0x64014
0x64015
0x64016
0x64016
0x6e017
0x6e018
0x78016
0x78014
0x78012
0x78010
0xc000000
0x78010
0x8000000
0xc000000
0x10000000
0x14000000
0x18000000
Log Not Initialized
Log Not Initialized
Log Not Initialized
Log Not Initialized
Log Not Initialized
New Log Increment: 10
Current Log Size: 10
Received Temperature: 20
Received Humidity: 50
Received Temperature: 21
Received Humidity: 50
Received Temperature: 22
Received Humidity: 50
Received Temperature: 22
Received Humidity: 50
Received Temperature: 23
Received Humidity: 55
Received Temperature: 24
Received Humidity: 55
Received Temperature: 22
Received Humidity: 60
Received Temperature: 20
Received Humidity: 60
Received Temperature: 18
Received Humidity: 60
Received Temperature: 16
Received Humidity: 60
Minimum Temperature: 16
Minimum Humidity: 50
Log Size Expanded To: 20
Received Temperature: 16
Received Humidity: 60
Average Temperature: 20.36
Average Humidity: 55.45
Minimum Temperature: 16
Minimum Humidity: 50
Maximum Temperature: 24
Maximum Humidity: 60
Log: 11 entries
Temperature: 20; Humidity: 50
Temperature: 21; Humidity: 50
Temperature: 22; Humidity: 50
Temperature: 22; Humidity: 50
Temperature: 23; Humidity: 55
Temperature: 24; Humidity: 55
Temperature: 22; Humidity: 60
Temperature: 20; Humidity: 60
Temperature: 18; Humidity: 60
Temperature: 16; Humidity: 60
Temperature: 16; Humidity: 60
Exiting...
CPU Time limit 1 second
Memory limit 1024 MB
Statistics Show
Authors
Andrew Berezovskyi and Jad El-khoury
Source MF2095
License Creative Commons License (cc by)

Please log in to submit a solution to this problem

Log in