3

王晨逸  •  4天前


999


评论:

fuck you


lmh  •  4天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   double Sn; 
   int n,k,x; 
   cin>>n; 
   k=n%5; 
   if(k==1||2||3||4){ 
      x=k; 
   } 
   if(k==5){ 
       x=0; 
   } 
   cout<<x; 
   return 0; 
}


万嘉宇  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n; 
   cin>>n; 
   n=n%5; 
   cout<<n; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int a; 
   cin>>a; 
   a=a%5; 
   cout<<a; 
   return 0; 
}


杨启宏  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,x=0; 
   cin>>n; 
   for(int i=1;i<=n;i++){ 
   if(i%7==0){ 
       s++; 
   } 
   if(i%10==7){ 
       s++; 
   } 
   if(i%7==0&&i%10==7){ 
       x++; 
   } 
   } 
   cout<<s-x; 
   return 0; 
}


万嘉宇  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,w=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
      if(i%10==0){ 
           s++;  
       }     
       if(i%10==7){ 
           s++; 
       } 
       if(i%10==0&&n%10==7) 
       w++; 
   } 
   cout<<s-w; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,w=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
      if(i%77==0){ 
           s++;  
       }     
       if(i%10==7){ 
           s++; 
       } 
       if(i%7==0&&n%10==7) 
       w++; 
   } 
   cout<<s-w; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,w=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
      if(i%77==0){ 
           s++;  
       }     
       if(i%10==7){ 
           s++; 
       } 
       if(i%7==0&&n%10==7) 
       w++; 
   } 
   cout<<s-w; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,w=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
      if(i%77==0){ 
           s++;  
       }     
       if(i%10==7){ 
           s++; 
       } 
       if(i%7==0&&n%10==7) 
       w++; 
   } 
   cout<<s-w; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,w=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
      if(i%77==0){ 
           s++;  
       }     
       if(i%10==7){ 
           s++; 
       } 
       if(i%7==0&&n%10==7) 
       w++; 
   } 
   cout<<s-w; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,w=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
      if(i%77==0){ 
           s++;  
       }     
       if(i%10==7){ 
           s++; 
       } 
       if(i%7==0&&n%10==7) 
       w++; 
   } 
   cout<<s-w; 
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl  
#include<cstdio>    //scanf()\printf()  
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()   

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()   
using namespace std;  
int main(){  
  int n,s=0,x=0,i;  
  cin>>n;  
  for(i=1;i<=n;i++){  
  if(i%7==0){  
      s++;  
  }  
  if(i%10==7){  
      s++;  
  }  
  if(i%7==0&&i%10==7){  
      x++;  
  }  
  }  
  cout<<s-x;  
  return 0;  

 


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,s=0,i,b=0; 
   cin>>n; 
   for(i=1;i<=n;i++){ 
       if(i%7==0) 
           s++; 
       if(i%10==7) 
           s++; 
       if(i%7==0&&i%10==7) 
           b++; 
   } 
   cout<<s-b; 
   return 0; 
}


杨启宏  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int a,b,w; 
   cin>>a>>b; 
   w=(a+b)%7; 
   cout<<w; 
    
   return 0; 
}


左锶焜  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
   int n,m; 
   cin>>n>>m; 
   cout<<(n+m)%7; 
   return 0; 
}


杨启宏  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
    int a,b,x;  
  cin>>a>>b;  
  x=(a+b)%7; 
  if(x==7){ 
      cout<<0; 
  } 
  else{ 
      cout<<x; 
  }  
   return 0; 
}


万嘉宇  •  3天前

#include<iostream>  // cin\cout\endl 
#include<cstdio>    //scanf()\printf() 
#include<cstring>   // strcpy()\strcat()\strcmp()\strlen()\memset()  

#include<cmath>  //sqrt()\pow()\abs()\ceil()\floor()\max()\min()  
using namespace std; 
int main(){ 
    int x,y,s=0,z;  
  cin>>x>>y;  
   if(12<=x<18){ 
       s+=(18-x)*500; 
   } 
   z=x+y; 
   if(18<=z<22){ 
       s+=(z-18)*700; 
   } 
   cout<<s; 
   return 0; 
}


万嘉宇  •  3天前