← Back to Challenge List

Submission #100081

上傳編號100081
上傳時間2020-05-30 14:52:17
題目 華氏溫度轉攝氏溫度*  #Python #輸入輸出
使用者 anonymous
總得分 0, CE in 0 ms
# State Runtime Memory
0 CE 0 ms 0
1 CE 0 ms 0
2 CE 0 ms 0
3 CE 0 ms 0
Judge Information
./test.cpp:1:17: warning: character constant too long for its type
a = float(input('輸入華氏溫度:'))
^
./test.cpp:2:7: warning: character constant too long for its type
print('攝氏溫度為%.2f' %((a - 32)/9*5), end='')
^
./test.cpp:2:50: error: empty character constant
print('攝氏溫度為%.2f' %((a - 32)/9*5), end='')
^
./test.cpp:1:1: error: 'a' does not name a type
a = float(input('輸入華氏溫度:'))
^