Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133012 肖声晖 03输出字符序号 C++ Wrong Answer 1 MS 264 KB 441 2025-10-13 17:02:02

Tests(0/2):


Code:

#include <iostream> using namespace std; int main() { char plus = '+'; char minus = '-'; char multiply = '*'; char divide = '/'; cout << "The ASCII value of '+' is: " << int(plus) << endl; cout << "The ASCII value of '-' is: " << int(minus) << endl; cout << "The ASCII value of '*' is: " << int(multiply) << endl; cout << "The ASCII value of '/' is: " << int(divide) << endl; return 0; }


Run Info:

------Input------
+
------Answer-----
43
------Your output-----
The ASCII value of '+' is: 43 The ASCII value of '-' is: 45 The ASCII value of '*' is: 42 The ASCII value of '/' is: 47