Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
101791 张智博 12输出英文字母II C++ Compile Error 0 MS 0 KB 158 2024-12-18 21:09:45

Tests(0/0):


Code:

#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; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:8:5: error: expected ';' before 'for'
     for(i=n;i<=m;i++)
     ^
Main.cc:8:14: warning: statement has no effect [-Wunused-value]
     for(i=n;i<=m;i++)
              ^
Main.cc:8:21: error: expected ';' before ')' token
     for(i=n;i<=m;i++)
                     ^