Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
132027 张咏灏 字符转换 C++ Compile Error 0 MS 0 KB 234 2025-10-04 08:02:54

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ char a; char b; cin>>a; if(a>A && a<Z){ a-32; b=a; cout<<b; }else{ a+32; b=a; cout<<b; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:7:10: error: 'A' was not declared in this scope
     if(a>A && aA && a