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

Tests(0/0):


Code:

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


Run Info:

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