Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
68787 陈俊洁 12输出英文字母II C++ Compile Error 0 MS 0 KB 156 2024-03-24 14:54:49

Tests(0/0):


Code:

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


Run Info:

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