| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 155838 | 杨宸铭 | 大写转小写 | C++ | Compile Error | 0 MS | 0 KB | 151 | 2026-06-14 10:18:41 |
#include <stdio.h> #include <ctype.h> int main() { char input_char; scanf("%c", &input_char); // 检查输入是否为大写字母
Main.cc: In function 'int main()':
Main.cc:6:29: error: expected '}' at end of input
scanf("%c", &input_char);
^
Main.cc:6:29: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]