Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
94344 | 肖姝妍 | 03字符加密 | C++ | Compile Error | 0 MS | 0 KB | 164 | 2024-10-20 12:03:18 |
#include<cmath> using namespace std; int main(){ char t1; int n=2; cin>>t1; char t2=((t1-65)+n)%26+65; cout<<t2<<endl; return 0; }
Main.cc: In function 'int main()': Main.cc:6:5: error: 'cin' was not declared in this scope cin>>t1; ^ Main.cc:8:5: error: 'cout' was not declared in this scope cout<