Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
101793 | 张智博 | 12输出英文字母II | C++ | Compile Error | 0 MS | 0 KB | 159 | 2024-12-18 21:10:13 |
#include <iostream> using namespace std; int main() { int n,m,i; cin>>n>>m; for(i=n;i<=m;i++) cout char(96+i)<<" "; return 0; }
Main.cc: In function 'int main()': Main.cc:9:14: error: expected ';' before 'char' cout char(96+i)<<" "; ^ Main.cc:9:29: warning: statement has no effect [-Wunused-value] cout char(96+i)<<" "; ^