Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
136622 李昱龙 12输出英文字母II C++ Compile Error 0 MS 0 KB 154 2025-11-15 14:38:11

Tests(0/0):


Code:

#include<bits/stdc++.h> using namespace std; int main(){ int n,m; cin>>n>>m; for(int i=n,i<=m,i++){ cout<<char(i)<<endl; } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:6:15: error: expected ';' before '<=' token
  for(int i=n,i<=m,i++){
               ^
Main.cc:6:15: error: expected primary-expression before '<=' token
Main.cc:6:22: error: expected ';' before ')' token
  for(int i=n,i<=m,i++){
                      ^