Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
99390 罗睿妍 03大写字母转小写字母 C++ Compile Error 0 MS 0 KB 138 2024-11-27 19:29:37

Tests(0/0):


Code:

#include <iostream> using namespace std; int main() { char c1 cin>>c1; c1=c1+32; cout<<c1<<endl; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:5: error: expected initializer before 'cin'
     cin>>c1;
     ^
Main.cc:7:5: error: 'c1' was not declared in this scope
     c1=c1+32;
     ^