Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94307 | 杨政翰 | 03大写字母转小写字母 | C++ | Compile Error | 0 MS | 0 KB | 120 | 2024-10-20 11:23:48 |
#include<iostream> using namespce std; int main(){ char t; cin>>t; t=t+32; cont<<t; return 0;
Main.cc:2:7: error: expected nested-name-specifier before 'namespce' using namespce std; ^ Main.cc: In function 'int main()': Main.cc:5:5: error: 'cin' was not declared in this scope cin>>t; ^ Main.cc:5:5: note: suggested alternative: In file included from Main.cc:1:0: /usr/include/c++/5/iostream:60:18: note: 'std::cin' extern istream cin; /// Linked to standard input ^ Main.cc:7:5: error: 'cont' was not declared in this scope cont<