Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
155840 杨宸铭 大写转小写 C++ Compile Error 0 MS 0 KB 133 2026-06-14 10:19:55

Tests(0/0):


Code:

#include <ctype.h> int main() { char input_char; scanf("%c", &input_char); // 检查输入是否为大写字母


Run Info:

Main.cc: In function 'int main()':
Main.cc:5:28: error: 'scanf' was not declared in this scope
     scanf("%c", &input_char); 
                            ^
Main.cc:5:29: error: expected '}' at end of input
     scanf("%c", &input_char); 
                             ^