| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144581 | 马俊潇 | 字符转换 | C++ | Compile Error | 0 MS | 0 KB | 157 | 2026-01-24 14:11:39 |
#include<iostream> using namespace std; int main(){ char n; cin>>n; if(n>='A'&&n<='Z'){ cout<<'n-32'}else{ cout<<'n';} return 0;}
Main.cc:7:11: warning: multi-character character constant [-Wmultichar]
cout<<'n-32'}else{
^
Main.cc: In function 'int main()':
Main.cc:7:17: error: expected ';' before '}' token
cout<<'n-32'}else{
^