| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 144813 | c13 | 字符转换 | C++ | Compile Error | 0 MS | 0 KB | 167 | 2026-01-24 18:58:59 |
#include<bits/stdc++.h> using namespace std; int main(){ char a; cin>>a; if(a<='Z'&&a>='A')cout<<a+='a'-'A'<<endl; else cout<<a<<endl;; return 0; }
Main.cc: In function 'int main()':
Main.cc:6:41: error: invalid operands of types 'int' and '' to binary 'operator<<'
if(a<='Z'&&a>='A')cout<='A')cout<