#include <bits/stdc++.h>
using namespace std;
struct stu{
};
int cmp(int a,int b){
return a>b;
}
typedef unsigned long long qwe;
int main(){
//freopen(".in","r",stdin);
//freopen(".out","w",stdout);
long long int i,j;
int n,m,len,q,w,e,som=0,mx=0,mn=999999;
char s[99999],ch;
int a[99999];
cin>>n;
for(i=1;i<=n;i++){
if(i%7!=0){
if(i<10){
if(i!=7){
}else{
goto js;
}
}
if(i>=10){
if(i%10!=7&&i/10%10!=7){
}else{
goto js;
}
}
if(i==100){
}
}else{
goto js;
}
som=som+i*i;
js:
}
cout<<som;
return 0;
}
运行之后就报错