Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144891 杨润东 07大小写转换 C++ Compile Error 0 MS 0 KB 185 2026-01-24 19:25:06

Tests(0/0):


Code:

#include<iostream> using namespace std; int main(){ char a; if('a'>=97&&'a'<=122){ cout<<a+32; } if('a'>=&&'a'<=90){ cout<<a-32; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:15: error: expected identifier before 'a'
     if('a'>=&&'a'<=90){
               ^
Main.cc:8:15: error: expected ')' before 'a'