Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
144600 马俊潇 字符转换 C++ Compile Error 0 MS 0 KB 180 2026-01-24 14:19:53

Tests(0/0):


Code:

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


Run Info:

Main.cc: In function 'int main()':
Main.cc:9:5: error: expected ';' before 'cout'
     cout<