Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
79657 李雨昊 13能被13整数的数 C++ Compile Error 0 MS 0 KB 168 2024-07-09 11:27:52

Tests(0/0):


Code:

#include <iostream> using namespace std; int main(){ int n,m; cin>>n>>m; int s=0; for(int i=n;<=m;i+=13){ s=s+i; } cout<<s; }


Run Info:

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