← Back to Challenge List

Submission #126158

上傳編號126158
上傳時間2021-09-17 11:53:16
題目 華氏溫度轉攝氏溫度*  #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:2: error: invalid preprocessing directive #!
#!/usr/bin/env python3
^
./test.cpp:2:3: error: invalid preprocessing directive #-
# -*- coding: utf-8 -*-
^
./test.cpp:3:3: warning: missing terminating " character
"""
^
./test.cpp:3:1: error: missing terminating " character
"""
^
./test.cpp:6:1: error: stray '@' in program
@author: student
^
./test.cpp:7:3: warning: missing terminating " character
"""
^
./test.cpp:7:1: error: missing terminating " character
"""
^
./test.cpp:10:7: warning: character constant too long for its type
print('{0:.2f}\n'.format((a-32)*5/9))
^
./test.cpp:16:1: error: empty character constant
'''
^
./test.cpp:16:3: warning: missing terminating ' character
'''
^
./test.cpp:16:1: error: missing terminating ' character
'''
^
./test.cpp:20:7: warning: character constant too long for its type
print('{0}: {1:.4f}'.format(a,x))
^
./test.cpp:21:1: error: empty character constant
'''
^
./test.cpp:21:3: warning: missing terminating ' character
'''
^
./test.cpp:21:1: error: missing terminating ' character
'''
^
./test.cpp:3:1: error: expected unqualified-id before string constant
"""
^