Taniv Ashraf

83 animes navigated

STOP staying in hotels without this—my anxiety vanished instantly! 🔒😱

I used to spend every single night in a hotel room checking the locks...

Exclusive-New York, California pension leaders oppose ‘extreme’ SpaceX control structure

SpaceX Governance Under Fire: Pension Leaders Warn Against 'Extreme' Control In a significant challenge to...

Stop scrolling! This Portable Door Lock Travel Home Security is insane!

Found the best Portable Door Lock Travel Home Security on Amazon today. ...

STOP staying in hotels without doing THIS! 🏨⚠️

I used to think my hotel room was safe until I realized literally anyone...

Codeforces Round #384 (Div....

#include <stdio.h> #include <string.h> #define MIN(X,Y) ((X)<(Y) ? (X) : (Y)) int...

Codeforces Round #382 (Div....

#include <stdio.h> #include <string.h> #include <stdlib.h> #define M 1000000007 int add(int a, int b)...

Codeforces Round #382 (Div....

#include<stdio.h> int isprime(int n); int main(){ int n; scanf("%d",&n); if(n%2==1){ if(isprime(n)){ printf("1"); }else{ printf("%d",3-isprime(n-2)); } }else{ printf("%d",1+(n>2)); } return 0; } int isprime(int n){ int i,j; for(i=2;i*i<=n;i++){ if(n%i==0){ return...

Codeforces Round #382 (Div....

#include<stdio.h> main() { long long int n,i,j,c=0,a,b,k; scanf("%I64d",&n); a=1; b=1; k=a+b; while(k<=n) { c++; ...

Codeforces Round #382 (Div....

#include<stdio.h> #include<stdlib.h> int cmp(const void*a,const void*b) { return *(int*)b-*(int*)a; } int w; int main() { int n,n1,n2; scanf("%d%d%d",&n,&n1,&n2); for(int i=0;i<n;i++) scanf("%d",&w); qsort(w,n,sizeof(w),cmp); if(n1>n2) { int...

Codeforces Round #382 (Div....

  #include<stdio.h> int b,d; int main(){ int i,s,n,k,t; scanf("%d%d",&n,&k); char x; for(i=1;i<=n;i++){ scanf(" %c",&x); if(x=='G')s=i; if(x=='T')t=i; if(x=='#')b=1; } for(i=s;i<=n;i+=k){ if(b) break; d=1; } for(i=s;i>=1;i-=k){ if(b) break; d=1; } if(d) printf("YES"); else printf("NO"); }

Codeforces Round #380 (Div....

Hi Guys , I Just Tried to solve the...

Codeforces Round #379 (Div....

Hey guys I just tried the Anton and School...

CodeForces Round #379 (Div....

Hey guys I just tried the Anton and Tree...

Codeforces Round #379 (Div....

Hey guys I just tried the Anton and Chess...

Codeforces Round #379 (Div....

Hey guys I just tried the Anton and Danik...

Codeforces Round #379 (Div....

Hey guys I just tried the anton and digits...