buggy_code stringlengths 11 625k | fixed_code stringlengths 17 625k | bug_type stringlengths 2 4.45k | language int64 0 8 | token_count int64 5 200k |
|---|---|---|---|---|
S = input()
flag = False
length = len(S)
for i in range(length):
if S[i] == '7':
flag == True
break
print("Yes" if flag == True else "No") | S = input()
flag = False
length = len(S)
for i in range(length):
if S[i] == '7':
flag = True
break
print("Yes" if flag == True else "No") | [["-", 0, 57, 64, 196, 0, 1, 0, 666, 667, 60], ["+", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32]] | 5 | 50 |
N = str(input())
# print(N)
if '7' in N :
print("YES")
else:
print("NO") | N = str(input())
if '7' in N :
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 30 |
N = str(input())
# print(N)
if '7' in N :
print("YES")
else:
print("NO") | N = str(input())
# print(N)
if '7' in N :
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 30 |
/*
--> WHEN IT'S OBVIOUS THAT THE GOAL CANNOT BE REACHED,
DON'T ADJUST THE GOALS,
ADJUST THE ACTION STEPS.
--> THE WAY YOU CONQUER SELF-DOUBT IS BY DOING THINGS THAT MAKE YOU
UNCOMFORTABLE.
--> IT IS DURING OUR DARKEST MOMENTS WE MUST FOCUS TO SEE LIGHT.
*/
#include <algorithm>
#include <climits>
#in... | /*
--> WHEN IT'S OBVIOUS THAT THE GOAL CANNOT BE REACHED,
DON'T ADJUST THE GOALS,
ADJUST THE ACTION STEPS.
--> THE WAY YOU CONQUER SELF-DOUBT IS BY DOING THINGS THAT MAKE YOU
UNCOMFORTABLE.
--> IT IS DURING OUR DARKEST MOMENTS WE MUST FOCUS TO SEE LIGHT.
*/
#include <algorithm>
#include <climits>
#in... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 337 |
#include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define endl "\n"
using namespace std... | #include <bits/stdc++.h>
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define endl "\n"
using namespace std... | [["-", 0, 34, 31, 16, 12, 23, 0, 5, 0, 6], ["+", 0, 34, 31, 16, 12, 23, 0, 5, 0, 6], ["-", 0, 1, 0, 16, 12, 23, 0, 5, 0, 6], ["+", 0, 1, 0, 16, 12, 23, 0, 5, 0, 6]] | 1 | 253 |
#include <iostream>
using namespace std;
int n, ok;
int main() {
cin >> n;
while (n) {
if (n % 10 == 7)
cout << "Yes", ok = 1;
n = n / 10;
}
if (!ok)
cout << "No";
}
| #include <iostream>
using namespace std;
int n, ok;
int main() {
cin >> n;
while (n) {
if (n % 10 == 7) {
cout << "Yes";
ok = 1;
return 0;
}
n = n / 10;
}
if (!ok)
cout << "No";
}
| [["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 45], ["-", 8, 9, 0, 57, 64, 1, 0, 34, 0, 21], ["+", 8, 9, 0, 57, 64, 9, 0, 1, 0, 35], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 38], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 13], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 35], ["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 46]] | 1 | 62 |
number = input()
if 7 in number:
print("Yes")
else:
print("No") | number = input()
if '7' in number:
print("Yes")
else:
print("No") | [["+", 0, 656, 0, 57, 15, 666, 0, 557, 0, 654], ["+", 0, 656, 0, 57, 15, 666, 0, 557, 0, 655]] | 5 | 24 |
n = int(input())
li = map(int, list(str(n)))
if '7' in li:
print('Yes')
else:
print('No') | n = int(input())
li = list(str(n))
if '7' in li:
print('Yes')
else:
print('No') | [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 21], ["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 43 |
#include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = 1; i < (n); ++i)
#define drep(i, n) for (int... | #include <algorithm>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <string>
#include <vector>
#define fi first
#define se second
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rrep(i, n) for (int i = 1; i < (n); ++i)
#define drep(i, n) for (int... | [["-", 8, 9, 0, 9, 0, 1, 0, 11, 31, 22], ["+", 8, 9, 0, 9, 0, 57, 75, 76, 0, 95], ["+", 0, 57, 75, 76, 0, 1, 0, 11, 31, 22]] | 1 | 208 |
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
int i;
char token[3000] = {};
fgets(token, sizeof(token), stdin);
for (i = 0; i < 4; i++) {
if (token[i] == 7) {
printf("Yes");
return 0;
}
}
printf("No");
return 0;
}
| #include <stdio.h>
#include <stdlib.h>
#include <string.h>
int main() {
int i;
char token[300] = {};
fgets(token, sizeof(token), stdin);
for (i = 0; i < 4; i++) {
if (token[i] == '7') {
printf("Yes");
return 0;
}
}
printf("No");
return 0;
} | [["-", 8, 9, 0, 43, 49, 50, 49, 80, 81, 13], ["+", 8, 9, 0, 43, 49, 50, 49, 80, 81, 13], ["+", 0, 57, 15, 23, 0, 16, 12, 103, 0, 104]] | 0 | 82 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
for (int i = 0; i < N.size(); i++) {
if (N.substr(i + 1, 1) == "7") {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
for (int i = 0; i < N.size(); i++) {
if (N.substr(i, 1) == "7") {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [["-", 51, 16, 31, 2, 3, 4, 0, 16, 17, 72], ["-", 51, 16, 31, 2, 3, 4, 0, 16, 12, 13]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
#define gcd(a, b) __gcd(a, b)
#define pb push_back
#define sevensins \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define ll long long int
#define mod 1000000... | #include <bits/stdc++.h>
using namespace std;
#define gcd(a, b) __gcd(a, b)
#define pb push_back
#define sevensins \
ios_base::sync_with_stdio(false); \
cin.tie(NULL);
#define ll long long int
#define mod 1000000... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 120 |
n = map(int, input())
x = list(n)
print("YES" if 7 in x else "NO")
| n = map(int, input())
x = list(n)
print("Yes" if 7 in x else "No")
| [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 30 |
#include <bits/stdc++.h>
using ll = long long;
using ld = long double;
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
#ifdef _DEBUG
freopen("input.txt", "r", stdin);
#endif
string s;
cin >> s;
if (s.find('7') != string::npos)
cout << "YES\n";
else
cout << "NO\n";... | #include <bits/stdc++.h>
using ll = long long;
using ld = long double;
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
#ifdef _DEBUG
freopen("input.txt", "r", stdin);
#endif
string s;
cin >> s;
if (s.find('7') != string::npos)
cout << "Yes\n";
else
cout << "No\n";... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 94 |
#include <bits/stdc++.h>
#include <cmath>
#include <sstream>
#include <string>
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define FORD(i, a, b) for (int i = (a); i > (b); i--)
#define pb(a) push_back(a)
#define mp(a, b) make_pair(a, b)
typedef long long int ll;
using namespace std;
ll mod1 = 1000000007;
ll mo... | #include <bits/stdc++.h>
#include <cmath>
#include <sstream>
#include <string>
#define FOR(i, a, b) for (int i = (a); i < (b); i++)
#define FORD(i, a, b) for (int i = (a); i > (b); i--)
#define pb(a) push_back(a)
#define mp(a, b) make_pair(a, b)
typedef long long int ll;
using namespace std;
ll mod1 = 1000000007;
ll mo... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 212 |
n = int(input())
for i in range(3):
if n%10 == 7:
print('Yes')
exit()
else:
n // 10
print('No')
| import sys
n = int(input())
for i in range(3):
if n%10 == 7:
print('Yes')
sys.exit()
else:
n = n // 10
print('No')
| [["+", 36, 36, 36, 36, 0, 656, 0, 596, 0, 487], ["+", 36, 36, 0, 656, 0, 596, 141, 673, 0, 22], ["+", 64, 196, 0, 1, 0, 652, 63, 319, 500, 22], ["+", 64, 196, 0, 1, 0, 652, 63, 319, 0, 131], ["+", 75, 76, 8, 196, 0, 1, 0, 662, 31, 22], ["+", 75, 76, 8, 196, 0, 1, 0, 662, 0, 32]] | 5 | 43 |
n = int(input())
result = ""
while n > 0:
if n % 10 == 7:
result = 'YES'
break
else:
n //= 10
if not result:
result = 'NO'
print(result) | n = int(input())
result = ""
while n > 0:
if n % 10 == 7:
result = 'Yes'
break
else:
n //= 10
if not result:
result = 'No'
print(result)
| [["-", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6]] | 5 | 48 |
a = input()
if a.count("7") == True:
print("Yes")
else:
print("No") | a = input()
if a.count("7") > 0:
print("Yes")
else:
print("No")
| [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 146], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 31 |
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int n;
cin >> n;
int k = 0;
while (n) {
if (n % 10 == 7) {
k = 1;
break;
}
n /= 10;
}
if (k)
cout << "YES";
else
cout << "NO";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
int n;
cin >> n;
int k = 0;
while (n) {
if (n % 10 == 7) {
k = 1;
break;
}
n /= 10;
}
if (k)
cout << "Yes";
else
cout << "No";
return 0;
}
| [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 76 |
N=input()
flg=0
for i in range(len(N)):
if N[i]=='7':
flg=1
exit(0)
if flg!=0:
print('Yes')
else:
print('No')
| N=input()
flg=0
for i in range(len(N)):
if N[i]=='7':
flg+=1
if flg!=0:
print('Yes')
else:
print('No')
| [["-", 0, 57, 64, 196, 0, 1, 0, 662, 0, 32], ["+", 0, 57, 64, 196, 0, 1, 0, 677, 17, 107], ["-", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 612], ["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 55 |
#include <algorithm>
#include <bitset>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
typedef long long int ll;
int main() {
int a;
cin >> a;
while (a > 0) {
if (a % 10 == 7) {
cout << "YES" << endl;
return 0;
}
a /= 10;
}
cout << "NO" <... | #include <algorithm>
#include <bitset>
#include <iostream>
#include <math.h>
#include <string>
#include <vector>
using namespace std;
typedef long long int ll;
int main() {
int a;
cin >> a;
while (a > 0) {
if (a % 10 == 7) {
cout << "Yes" << endl;
return 0;
}
a /= 10;
}
cout << "No" <... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 79 |
raw_input = input().split()
for r in raw_input:
if '7' == r:
print('Yes')
break
else:
print('No') | raw_input = input().split()
for r in raw_input[0]:
if '7' == r:
print('Yes')
break
else:
print('No') | [["+", 36, 36, 0, 656, 0, 7, 12, 206, 0, 70], ["+", 36, 36, 0, 656, 0, 7, 12, 206, 206, 612], ["+", 36, 36, 0, 656, 0, 7, 12, 206, 0, 73]] | 5 | 36 |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.InputMismatchException;
public class Main {
private static int n;
private static int[] a;
public static void main(String[] args) {... |
import java.io.IOException;
import java.io.InputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.InputMismatchException;
public class Main {
private static int n;
private static int[] a;
public static void main(String[] args) {... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 1,049 |
N = gets.split("")
if S.include?('7')
puts "Yes"
else
puts "No"
end
| N = gets.split("")
if N.include?('7')
puts "Yes"
else
puts "No"
end
| [["-", 36, 36, 0, 493, 0, 121, 15, 652, 486, 743], ["+", 36, 36, 0, 493, 0, 121, 15, 652, 486, 743]] | 4 | 28 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int flag = 0;
while (n) {
int rem = n % 10;
if (rem == 7) {
flag = 1;
break;
}
n = n / 10;
}
if (flag)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
} | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int flag = 0;
while (n) {
int rem = n % 10;
if (rem == 7) {
flag = 1;
break;
}
n = n / 10;
}
if (flag)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 83 |
/* ****revpro**** */
// #pragma GCC target ("avx2")
// #pragma GCC optimization ("O3")
// #pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define endl '\n'
#define pii pair<ll, ll>
#define vi vector<ll>
#define all(a) (a).begin(), (a).end()
#define F first
#d... | /* ****revpro**** */
// #pragma GCC target ("avx2")
// #pragma GCC optimization ("O3")
// #pragma GCC optimization ("unroll-loops")
#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define endl '\n'
#define pii pair<ll, ll>
#define vi vector<ll>
#define all(a) (a).begin(), (a).end()
#define F first
#d... | [["-", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13]] | 1 | 258 |
#include <bits/stdc++.h>
#define nl "\n"
#define pb push_back
#define sp " "
typedef long long ll;
#define len(x) x.length()
#define vsort(x) sort(x.begin(), x.end();
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
// freopen("bruh.txt","r",stdin);
... | #include <bits/stdc++.h>
#define nl "\n"
#define pb push_back
#define sp " "
typedef long long ll;
#define len(x) x.length()
#define vsort(x) sort(x.begin(), x.end();
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
#ifndef ONLINE_JUDGE
// freopen("bruh.txt","r",stdin);
#... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 111 |
k = list(str(input()))
re = False
for i in range(len(k)):
if i == '7':
re = True
if re:
print('Yes')
else:
print('No') | k = list(str(input()))
re = False
for i in k:
if i == '7':
re = True
if re:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 7, 12, 652, 63, 22], ["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 24], ["-", 0, 7, 12, 652, 3, 4, 0, 652, 63, 22], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["-", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25], ["-", 0, 656, 0, 7, 12, 652, 3, 4, 0, 25]] | 5 | 52 |
#include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int N;
cin >> N;
string str = to_string(N);
string ans = "NO";
for (int i = 0; i < str.size(); i++) {
if (str[i] == '7') {
ans = "YES";
break;
}
}
cout << ... | #include <algorithm>
#include <iostream>
#include <map>
#include <string>
#include <vector>
using namespace std;
int main(void) {
int N;
cin >> N;
string str = to_string(N);
string ans = "No";
for (int i = 0; i < str.size(); i++) {
if (str[i] == '7') {
ans = "Yes";
break;
}
}
cout << ... | [["-", 8, 9, 0, 43, 49, 50, 51, 5, 0, 6], ["+", 8, 9, 0, 43, 49, 50, 51, 5, 0, 6], ["-", 64, 9, 0, 1, 0, 11, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 11, 12, 5, 0, 6]] | 1 | 93 |
#include <bits/stdc++.h>
typedef long long int ll;
#define f(i, st, en) for (int i = st; i < en; i++)
#define s(n) scanf("%d", &n)
#define sc(n) scanf("%c", &n)
#define sl(n) scanf("%lld", &n)
#define sf(n) scanf("%lf", &n)
using namespace std;
int main() {
string s;
cin >> s;
int fl = 0;
for (int i = 0; i <... | #include <bits/stdc++.h>
typedef long long int ll;
#define f(i, st, en) for (int i = st; i < en; i++)
#define s(n) scanf("%d", &n)
#define sc(n) scanf("%c", &n)
#define sl(n) scanf("%lld", &n)
#define sf(n) scanf("%lf", &n)
using namespace std;
int main() {
string s;
cin >> s;
int fl = 0;
for (int i = 0; i <... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6]] | 1 | 127 |
ipt = str(input()).split()
if("7" in ipt):
print("Yes")
else:
print("No")
| ipt = str(input().split())
if("7" in ipt):
print("Yes")
else:
print("No") | [["-", 12, 652, 63, 319, 500, 652, 3, 4, 0, 25], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 25]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
bool isseven(int n) {
int temp;
while (n > 0) {
temp = n % 10;
if (temp % 7 == 0)
return true;
n = n / 10;
}
return false;
}
int main() {
int n;
cin >> n;
if (isseven(n)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
... | #include <bits/stdc++.h>
using namespace std;
bool isseven(int n) {
int temp;
while (n > 0) {
temp = n % 10;
if (temp == 7)
return true;
n = n / 10;
}
return false;
}
int main() {
int n;
cin >> n;
if (isseven(n)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
ret... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 109], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 95 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// int N = sc.nextInt();
int N = 123;
boolean contain7 = false;
char[] chArr = Integer.toString(N).toCharArray();
for (int i = 0; i < chArr.length; i++) {
if (chA... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
boolean contain7 = false;
char[] chArr = Integer.toString(N).toCharArray();
for (int i = 0; i < chArr.length; i++) {
if (chArr[i] == '7') {
... | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 499], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 500, 22], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 0, 131], ["+", 8, 196, 0, 503, 49, 200, 51, 492, 141, 22], ["+", 0, 503, 49, 200, 51, 492, 3, 4, 0, 24], ["+", 0, 503, 49, 200, 51, 492, 3, 4, 0, 25]] | 3 | 128 |
#include <bits/stdc++.h>
#define pb push_back
#define ff first
#define ss second
#define sz(x) (int)x.size()
#define all(x) begin(x), end(x)
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
const char newl = 10;
const string sep = "\n_____\n";
const ll MOD = 1000000007; /... | #include <bits/stdc++.h>
#define pb push_back
#define ff first
#define ss second
#define sz(x) (int)x.size()
#define all(x) begin(x), end(x)
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
typedef pair<ll, ll> pll;
const char newl = 10;
const string sep = "\n_____\n";
const ll MOD = 1000000007; /... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 218 |
#include <iostream>
using namespace std;
int main() {
int n, flag = 0;
cin >> n;
for (int i = 0; i < 3; i++) {
int rem;
rem = n % 10;
if (rem == 7) {
flag = 1;
break;
}
n = n / 10;
}
if (flag == 1) {
cout << "Yes";
} else {
cout << "no";
}
} | #include <iostream>
using namespace std;
int main() {
int n, flag = 0;
cin >> n;
for (int i = 0; i < 3; i++) {
int rem;
rem = n % 10;
if (rem == 7) {
flag = 1;
break;
}
n = n / 10;
}
if (flag == 1) {
cout << "Yes";
} else {
cout << "No";
}
} | [["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 91 |
<?php
fscanf(STDIN, "%s", $n);
if (strpos($n, '7')) {
echo "Yes\n";
} else {
echo "No\n";
} | <?php
fscanf(STDIN, "%s", $n);
if (strpos($n, '7') !== false) {
echo "Yes\n";
} else {
echo "No\n";
}
| [["+", 0, 493, 0, 57, 15, 23, 0, 16, 17, 566], ["+", 0, 493, 0, 57, 15, 23, 0, 16, 12, 626]] | 6 | 42 |
/*input
*/
// assic value of ('0'-'9') is(48 - 57) and (a-z) is (97-122) and (A-Z)
// is(65-90) and 32 for space
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define pii pair<ll int, ll int>
#define vpii vector<pii>
#define vi vector<ll int>
#define vs vector<string>
#define... | /*input
*/
// assic value of ('0'-'9') is(48 - 57) and (a-z) is (97-122) and (A-Z)
// is(65-90) and 32 for space
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define pii pair<ll int, ll int>
#define vpii vector<pii>
#define vi vector<ll int>
#define vs vector<string>
#define... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 235 |
a=list(input())
x=0
for i in a:
if i=="7":
x=1
print("Yes")
if x==0:
print("No") | a=list(input())
x=0
for i in a:
if i=="7":
x=1
print("Yes")
break
if x==0:
print("No") | [["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 5 | 43 |
a = input()
count = False
for i in range(len(a)):
if i == "7":
count = True
break
if count:
print("Yes")
else:
print("No") | a = input()
count = False
for i in range(len(a)):
if a[i] == "7":
count = True
break
if count:
print("Yes")
else:
print("No")
| [["+", 8, 196, 0, 57, 15, 666, 0, 206, 51, 22], ["+", 8, 196, 0, 57, 15, 666, 0, 206, 0, 70], ["+", 8, 196, 0, 57, 15, 666, 0, 206, 0, 73]] | 5 | 47 |
// Created by abhay
#include <bits/stdc++.h>
#define sz(a) int((a).size())
#define pb push_back
#define allc c.begin(), c.end()
#define tr(c, i) for (typeof(c).begin() i = c.begin(); i != c.end(); i++)
#define present(c, x) (c.find(x) != c.end())
#define cpresent(c, x) (find(allc, x) != c.end())
#define rep(i, n) for (... | #include <bits/stdc++.h>
#define sz(a) int((a).size())
#define pb push_back
#define allc c.begin(), c.end()
#define tr(c, i) for (typeof(c).begin() i = c.begin(); i != c.end(); i++)
#define present(c, x) (c.find(x) != c.end())
#define cpresent(c, x) (find(allc, x) != c.end())
#define rep(i, n) for (int i = 0; i < (n); ... | [["-", 8, 9, 0, 52, 8, 9, 0, 43, 39, 40], ["+", 8, 9, 0, 52, 8, 9, 0, 43, 39, 78], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 134 |
#include <bits/stdc++.h>
#define N 109
using namespace std;
typedef long long ll;
int main(void) {
// freopen("in.txt","r",stdin);
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7') {
puts("YES");
return 0;
}
}
puts("NO");
return 0;
} | #include <bits/stdc++.h>
#define N 109
using namespace std;
typedef long long ll;
int main(void) {
// freopen("in.txt","r",stdin);
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7') {
puts("Yes");
return 0;
}
}
puts("No");
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 82 |
#include <algorithm>
#include <iostream>
#include <string>
using namespace std;
#define endl '\n'
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s;
while (cin >> s) {
if (s.find("7") != string::npos)
cout << "YES" << endl;
else
cout << "NO" << endl;
}
ret... | #include <algorithm>
#include <iostream>
#include <string>
using namespace std;
#define endl '\n'
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
string s;
while (cin >> s) {
if (s.find("7") != string::npos)
cout << "Yes" << endl;
else
cout << "No" << endl;
}
ret... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 86 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, q, w, e;
cin >> n;
q = n % 10;
n /= 10;
w = n % 10;
n /= 10;
e = n % 10;
if (q != 7 && w != 7 && e != 7) {
printf("NO");
} else {
printf("YES");
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, q, w, e;
cin >> n;
q = n % 10;
n /= 10;
w = n % 10;
n /= 10;
e = n % 10;
if (q != 7 && w != 7 && e != 7) {
printf("No");
} else {
printf("Yes");
}
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 84 |
#include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef pair<int, int> pii;
typedef map<int, int> mi;
#define rep(i, a, b) for (int i = a; i < b; i++)
int main() {
int n;
cin >> n;
while (n) {
int temp = n % 10;
if (temp == 7) {
cout << "YES";
return 0;
}
n /=... | #include <bits/stdc++.h>
using namespace std;
typedef vector<int> vi;
typedef pair<int, int> pii;
typedef map<int, int> mi;
#define rep(i, a, b) for (int i = a; i < b; i++)
int main() {
int n;
cin >> n;
while (n) {
int temp = n % 10;
if (temp == 7) {
cout << "Yes";
return 0;
}
n /=... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 97 |
/*
Esteban Arango Medina
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <fstream>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queu... | /*
Esteban Arango Medina
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <climits>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <deque>
#include <fstream>
#include <iostream>
#include <iterator>
#include <list>
#include <map>
#include <numeric>
#include <queu... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 357 |
package main
import (
"bufio"
"fmt"
"io"
"os"
"strconv"
"strings"
)
func main() {
solve(os.Stdin, os.Stdout)
}
func solve(in io.Reader, out io.Writer) {
bs := NewBufScanner(in)
bw := NewBufWriter(out)
defer bw.w.Flush()
ans := "No"
if strings.Index(bs.Scan(), "7") > 0 {
ans = "Yes"
}
bw.Printf(ans)
}... | package main
import (
"bufio"
"fmt"
"io"
"os"
"strconv"
"strings"
)
func main() {
solve(os.Stdin, os.Stdout)
}
func solve(in io.Reader, out io.Writer) {
bs := NewBufScanner(in)
bw := NewBufWriter(out)
defer bw.w.Flush()
ans := "No"
if strings.Index(bs.Scan(), "7") >= 0 {
ans = "Yes"
}
bw.Printf(ans)
... | [["-", 0, 435, 8, 196, 0, 57, 15, 16, 17, 47], ["+", 0, 435, 8, 196, 0, 57, 15, 16, 17, 20]] | 7 | 353 |
#include <bits/stdc++.h>
int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < 3; ++i) {
if (n % 10 == 7) {
printf("yes");
return 0;
}
n /= 10;
}
printf("no");
return 0;
} | #include <bits/stdc++.h>
int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < 3; ++i) {
if (n % 10 == 7) {
printf("Yes");
return 0;
}
n /= 10;
}
printf("No");
return 0;
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 71 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
#define ld long double
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
t = 1; // cin>>t;
while (t--) {
int n;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
cout << "YES\\n";
return 0;... | #include <bits/stdc++.h>
using namespace std;
#define int long long
#define ld long double
int32_t main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
t = 1; // cin>>t;
while (t--) {
int n;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
cout << "Yes\n";
return 0;
... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 97 |
/* MASTER HAS FAILED MORE TIMES
THAN BEGINNER HAS EVER TRIED
*/
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define all(a) a.begin(), a.end()
#define mem(a, n) memset(a, n, sizeof(a))
#define Unique(n) (n).erase(unique(all(n)), (n).end())
#define NumofDigits(n) ((long long)log10(n) + 1)
#... | /* MASTER HAS FAILED MORE TIMES
THAN BEGINNER HAS EVER TRIED
*/
#include <bits/stdc++.h>
using namespace std;
#define endl '\n'
#define all(a) a.begin(), a.end()
#define mem(a, n) memset(a, n, sizeof(a))
#define Unique(n) (n).erase(unique(all(n)), (n).end())
#define NumofDigits(n) ((long long)log10(n) + 1)
#... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 431 |
s = str(input())
n = len(s)
cnt = 0
for i in range(n):
if s[i] == '7':
print("Yes")
cnt = 1
break
if cnt == 1:
print("Yes")
else:
print("No")
| s = str(input())
n = len(s)
cnt = 0
for i in range(n):
if s[i] == '7':
cnt = 1
break
if cnt == 1:
print("Yes")
else:
print("No") | [["-", 0, 57, 64, 196, 0, 1, 0, 652, 63, 22], ["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 654], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 655], ["-", 64, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 64 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
bool seven = false;
for (int i = 0; i < s.size(); ++i) {
if (s[i] == '7')
seven = true;
}
if (seven)
cout << "YES";
else
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string s;
cin >> s;
bool seven = false;
for (int i = 0; i < (int)s.size(); ++i) {
if (s[i] == '7')
seven = true;
}
if (seven)
cout << "Yes";
else
cout << "No";
}
| [["+", 8, 9, 0, 7, 15, 16, 12, 74, 0, 24], ["+", 0, 7, 15, 16, 12, 74, 39, 77, 39, 40], ["+", 8, 9, 0, 7, 15, 16, 12, 74, 0, 25], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 90 |
N = input()
print('YES') if N.count('7') else print('NO') | N = input()
print('Yes') if N.count('7') else print('No')
| [["-", 0, 41, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 41, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 27 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int fg = 0;
while (n / 10 != 0) {
if (n % 10 == 7) {
fg = 1;
}
n /= 10;
}
if (n == 7 || fg)
cout << "YES";
else
cout << "NO";
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
int fg = 0;
while (n / 10 != 0) {
if (n % 10 == 7) {
fg = 1;
}
n /= 10;
}
if (n == 7 || fg)
cout << "Yes";
else
cout << "No";
return 0;
} | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 76 |
#include <bits/stdc++.h>
using namespace std;
int main() {
// g h ; " string
string st;
cin >> st;
bool b = false;
for (int i = 0; i < st.size(); i++) {
if (st[i] - '0' == 7) {
b = true;
}
}
if (b)
cout << "Yes" << endl;
else
cout << "NO" << endl;
// Alhamdulilla..
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
// g h ; " string
string st;
cin >> st;
bool b = false;
for (int i = 0; i < st.size(); i++) {
if (st[i] - '0' == 7) {
b = true;
}
}
if (b)
cout << "Yes" << endl;
else
cout << "No" << endl;
// Alhamdulilla..
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 86 |
#include <bits/stdc++.h>
#define llu unsigned long long
#define ll long long
#define INF 0x3f3f3f3f
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | #include <bits/stdc++.h>
#define llu unsigned long long
#define ll long long
#define INF 0x3f3f3f3f
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(NULL); ... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 66 |
a = input()
f=0
for i in a:
if(a=='7'):
f = 1
break
if(f==0):print("No")
else:print("Yes") | a = input()
f=0
for i in a:
if(i=='7'):
f = 1
break
if(f==0):print("No")
else:print("Yes")
| [["-", 8, 196, 0, 57, 15, 23, 0, 666, 0, 22], ["+", 8, 196, 0, 57, 15, 23, 0, 666, 0, 22]] | 5 | 47 |
#include <bits/stdc++.h>
#define ll long long
#define pi pair<int, int>
#define ppi pair<pi, pi>
#define mp make_pair
#define fr first
#define sc second
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
int n;
cin >> n;
bool ok = 0;
while (n > 0) {
if (n % 10 == 7)... | #include <bits/stdc++.h>
#define ll long long
#define pi pair<int, int>
#define ppi pair<pi, pi>
#define mp make_pair
#define fr first
#define sc second
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
int n;
cin >> n;
bool ok = 0;
while (n > 0) {
if (n % 10 == 7)... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6]] | 1 | 109 |
#include <iostream>
#include <sstream>
using namespace std;
#include <algorithm>
#include <bits/stdc++.h>
#include <iterator>
#include <utility>
#define go return 0
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep(j, m) for (int j = 0; j < m; ++j)
#define REP(i, n) for (int i = 1; i <= n; ++i)
#define all(v) (... | #include <iostream>
#include <sstream>
using namespace std;
#include <algorithm>
#include <bits/stdc++.h>
#include <iterator>
#include <utility>
#define go return 0
#define rep(i, n) for (int i = 0; i < n; ++i)
#define rep(j, m) for (int j = 0; j < m; ++j)
#define REP(i, n) for (int i = 1; i <= n; ++i)
#define all(v) (... | [["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 221 |
// R<3S
#include <bits/stdc++.h>
#define DECIMAL(n) \
std::cout << std::fixed; \
std::cout << std::setprecision(n);
#define FAST \
std::... | // R<3S
#include <bits/stdc++.h>
#define DECIMAL(n) \
std::cout << std::fixed; \
std::cout << std::setprecision(n);
#define FAST \
std::... | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 367 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
while (n > 0) {
int digit = n % 10;
if (digit == 7) {
cout << "YES";
return 0;
}
n = n / 10;
}
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
while (n > 0) {
int digit = n % 10;
if (digit == 7) {
cout << "Yes";
return 0;
}
n = n / 10;
}
cout << "No";
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 66 |
a = map(int, input().split())
a = int(list(a)[0])
ans = 'No'
while a > 99:
if a % 10 == 7:
ans = 'Yes'
break
a /= 10
a = int(a)
print(ans)
| a = map(int, input().split())
a = int(list(a)[0])
# for a in range(100, 1000):
ans = 'No'
while a > 1:
# print(f"a = {a} : ", end='')
if a % 10 == 7:
ans = 'Yes'
break
a /= 10
a = int(a)
print(ans)
| [["-", 36, 36, 0, 656, 0, 52, 15, 666, 0, 612], ["+", 36, 36, 0, 656, 0, 52, 15, 666, 0, 612]] | 5 | 62 |
n = input()
f = 0
for i in range(len(n)):
if n[i] == "7":
f = 1
print("YES")
break
if f==0:
print("NO") | n = input()
f = 0
for i in range(len(n)):
if n[i] == "7":
f = 1
print("Yes")
break
if f==0:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 50 |
#include "bits/stdc++.h"
#include <numeric>
#define rep(i, a) for (int i = 0; i < (a); ++i)
#define REP(i, a, b) for (int i = (a); i < (b); ++i)
#define vi vector<int>
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0, a1, a2, a3, a4, x, ...) x
#define debug_1(x1) cerr << #x1 << ": " << x1 << endl
#define debug_2(x1, x2... | #include "bits/stdc++.h"
#include <numeric>
#define rep(i, a) for (int i = 0; i < (a); ++i)
#define REP(i, a, b) for (int i = (a); i < (b); ++i)
#define vi vector<int>
#define CHOOSE(a) CHOOSE2 a
#define CHOOSE2(a0, a1, a2, a3, a4, x, ...) x
#define debug_1(x1) cerr << #x1 << ": " << x1 << endl
#define debug_2(x1, x2... | [["-", 15, 339, 51, 16, 31, 16, 31, 23, 0, 24], ["-", 15, 339, 51, 16, 31, 16, 31, 23, 0, 25], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 17, 109], ["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 233 |
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define ll long ... | #include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#define ll long ... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 367 |
#include <bits/stdc++.h>
using namespace std;
#define int long long int
#define ld long double
#define f(i, j, n) for (int i = j; i <= n; i++)
#define r(i, n, j) for (int i = n; i >= j; i--)
#define mod 1000000007
#define speed ios_base::sync_with_stdio(false);
#define upp cin.tie(NULL);
#define pb push_back
#define m... | #include <bits/stdc++.h>
using namespace std;
#define int long long int
#define ld long double
#define f(i, j, n) for (int i = j; i <= n; i++)
#define r(i, n, j) for (int i = n; i >= j; i--)
#define mod 1000000007
#define speed ios_base::sync_with_stdio(false);
#define upp cin.tie(NULL);
#define pb push_back
#define m... | [["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 218 |
#include <bits/stdc++.h>
using namespace std;
int main() {
// freopen("TEST.INP", "r", stdin);
// freopen("TEST.OUT", "w", stdout);
ios_base::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
int t;
cin >> t;
while (t) {
if (t % 10 == 7) {
cout << "YES";
return 0;
}
t /= 10;
}... | #include <bits/stdc++.h>
using namespace std;
int main() {
// freopen("TEST.INP", "r", stdin);
// freopen("TEST.OUT", "w", stdout);
ios_base::sync_with_stdio(0);
cin.tie(0), cout.tie(0);
int t;
cin >> t;
while (t) {
if (t % 10 == 7) {
cout << "Yes";
return 0;
}
t /= 10;
}... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 80 |
N = int(input())
has = False
for n in N:
if n == 7:
has = True
break
if has:
print("Yes")
else:
print("No")
| N = int(input())
has = False
for n in str(N):
if n == "7":
has = True
break
if has:
print("Yes")
else:
print("No")
| [["+", 36, 36, 0, 656, 0, 7, 12, 652, 63, 22], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 24], ["+", 0, 656, 0, 7, 12, 652, 3, 4, 0, 25], ["+", 8, 196, 0, 57, 15, 666, 0, 557, 0, 654], ["+", 8, 196, 0, 57, 15, 666, 0, 557, 0, 655]] | 5 | 42 |
s=input()
count=0
for i in s:
if i=="7":
print("Yes")
count+=1
else:
pass
if count==0:
print("No") | s=input()
count=0
for i in s:
if i=="7":
print("Yes")
count+=1
break
else:
pass
if count==0:
print("No") | [["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 5 | 43 |
#include <bits/stdc++.h>
#define forsn(i, s, n) for (int i = s; i < n; i++)
#define forn(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef unsigned int ui;
int main() {
int n;
cin >> n;
if (n % 10 == 7 || n / 10 % 10 == 7 || n / 100 % 10 == 7)
cout << "YES\n";
else
... | #include <bits/stdc++.h>
#define forsn(i, s, n) for (int i = s; i < n; i++)
#define forn(i, n) for (int i = 0; i < n; i++)
using namespace std;
typedef long long ll;
typedef unsigned int ui;
int main() {
int n;
cin >> n;
if (n % 10 == 7 || n / 10 % 10 == 7 || n / 100 % 10 == 7)
cout << "Yes\n";
else
... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 89 |
#include <bits/stdc++.h>
#define pb push_back
#define all(c) c.begin(), c.end()
#define allr(c) c.rbegin(), c.rend()
#define MOD 1000000007
#define PI 3.14159265
#define endl '\n'
using namespace std;
void quick() {
cin.tie(0);
cout.tie(0);
ios_base::sync_with_stdio(0); /*//*/
}
int gcd(int a, int b) {
if (... | #include <bits/stdc++.h>
#define pb push_back
#define all(c) c.begin(), c.end()
#define allr(c) c.rbegin(), c.rend()
#define MOD 1000000007
#define PI 3.14159265
#define endl '\n'
using namespace std;
void quick() {
cin.tie(0);
cout.tie(0);
ios_base::sync_with_stdio(0); /*//*/
}
int gcd(int a, int b) {
if (... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 173 |
#include <bits/stdc++.h>
#define DEBUG if (0)
#define lli long long int
#define ldouble long double
using namespace std;
/*
What if this problem were DP on Tree?
And we actually want to calculate how many paths pass through u (for every u)
*/
const int maxN = 2e5;
int n;
int colors[maxN];
lli ans[maxN];
int color... | #include <bits/stdc++.h>
#define DEBUG if (0)
#define lli long long int
#define ldouble long double
using namespace std;
/*
What if this problem were DP on Tree?
And we actually want to calculate how many paths pass through u (for every u)
*/
const int maxN = 2e5;
int n;
int colors[maxN];
lli ans[maxN];
int color... | [["+", 0, 338, 8, 57, 64, 9, 0, 43, 39, 78]] | 1 | 695 |
#include <cstdio>
#include <cstring>
#include <map>
#include <vector>
#define pii pair<int, int>
#define s1 first
#define s2 second
#define N 200001
using namespace std;
struct edge {
int v, next;
edge() {}
edge(int _v, int _next) {
v = _v;
next = _next;
}
} e[N << 1];
int head[N], sz;
void init() {
m... | #include <cstdio>
#include <cstring>
#include <map>
#include <vector>
#define pii pair<int, int>
#define s1 first
#define s2 second
#define N 200001
using namespace std;
struct edge {
int v, next;
edge() {}
edge(int _v, int _next) {
v = _v;
next = _next;
}
} e[N << 1];
int head[N], sz;
void init() {
m... | [["-", 0, 43, 49, 50, 51, 69, 341, 342, 0, 22], ["+", 51, 69, 341, 342, 0, 118, 28, 69, 28, 22], ["+", 341, 342, 0, 118, 28, 69, 341, 342, 0, 70], ["+", 341, 342, 0, 118, 28, 69, 341, 342, 0, 22], ["+", 341, 342, 0, 118, 28, 69, 341, 342, 0, 73], ["+", 49, 50, 51, 69, 341, 342, 0, 118, 17, 131], ["+", 49, 50, 51, 69, 3... | 1 | 679 |
#include <cstdio>
#include <vector>
typedef long long ll;
const int maxn = 2E+5 + 5;
int n, c[maxn];
ll siz[maxn], last[maxn], ans[maxn];
std::vector<int> to[maxn];
void DFS1(int u, int father) {
siz[u] = 1;
for (int i = 0; i < to[u].size(); ++i) {
int v = to[u][i];
if (v != father) {
DFS1(v, u);
... | #include <cstdio>
#include <vector>
typedef long long ll;
const int maxn = 2E+5 + 5;
int n, c[maxn];
ll siz[maxn], last[maxn], ans[maxn];
std::vector<int> to[maxn];
void DFS1(int u, int father) {
siz[u] = 1;
for (int i = 0; i < to[u].size(); ++i) {
int v = to[u][i];
if (v != father) {
DFS1(v, u);
... | [["-", 0, 34, 12, 34, 12, 34, 31, 11, 17, 32], ["+", 0, 34, 12, 34, 12, 34, 31, 11, 17, 107]] | 1 | 471 |
#include <algorithm>
#include <cstdio>
using namespace std;
#define N 200005
#define int long long
int n, c[N], num[N], ans[N], C[N];
int tot, head[2 * N], than[2 * N], to[2 * N];
inline int read() {
int s = 0, t = 1;
char c = getchar();
while ((c < '0' || c > '9') && c != '-')
c = getchar(), t = -1;
if ... | #include <algorithm>
#include <cstdio>
using namespace std;
#define N 200005
#define int long long
int n, c[N], num[N], ans[N], C[N];
int tot, head[2 * N], than[2 * N], to[2 * N];
inline int read() {
int s = 0, t = 1;
char c = getchar();
while ((c < '0' || c > '9') && c != '-')
c = getchar(), t = -1;
if ... | [["-", 31, 69, 341, 342, 0, 69, 341, 342, 0, 22], ["+", 31, 69, 341, 342, 0, 69, 341, 342, 0, 22]] | 1 | 540 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<ll> g[200005];
ll col[200005];
ll son[200005];
ll colson[200005];
ll ans[200005];
ll n;
ll f(ll n) { return n * (n + 1) / 2; }
void dfs(ll u, ll par) {
ll temp = colson[col[u]];
for (ll i = 0; i < g[u].size(); i++) {
ll v = g[u][i];
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
vector<ll> g[200005];
ll col[200005];
ll son[200005];
ll colson[200005];
ll ans[200005];
ll n;
ll f(ll n) { return n * (n + 1) / 2; }
void dfs(ll u, ll par) {
ll temp = colson[col[u]];
for (ll i = 0; i < g[u].size(); i++) {
ll v = g[u][i];
... | [["+", 0, 11, 31, 69, 341, 342, 0, 69, 28, 22], ["+", 31, 69, 341, 342, 0, 69, 341, 342, 0, 70], ["+", 31, 69, 341, 342, 0, 69, 341, 342, 0, 73]] | 1 | 358 |
i = input()
ans = 'Yes' if '7' in 1 else 'No'
print(ans) | i = input()
ans = 'Yes' if '7' in i else 'No'
print(ans) | [["-", 0, 1, 0, 662, 12, 41, 0, 666, 0, 612], ["+", 0, 1, 0, 662, 12, 41, 0, 666, 0, 22]] | 5 | 24 |
line1 = gets.strip
s=line1.include?('7') ? 'yes' : 'no'
puts s | line1 = gets.strip
s=line1.include?('7') ? 'Yes' : 'No'
puts s | [["-", 0, 493, 0, 662, 12, 754, 64, 557, 0, 6], ["+", 0, 493, 0, 662, 12, 754, 64, 557, 0, 6], ["-", 0, 493, 0, 662, 12, 754, 75, 557, 0, 6], ["+", 0, 493, 0, 662, 12, 754, 75, 557, 0, 6]] | 4 | 25 |
#include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int getRand(int l, int r) {
uniform_int_distribution<int> uid(l, r);
return uid(rng);
}
#de... | #include <bits/stdc++.h>
using namespace std;
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
using namespace __gnu_pbds;
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int getRand(int l, int r) {
uniform_int_distribution<int> uid(l, r);
return uid(rng);
}
#de... | [["-", 15, 339, 51, 16, 31, 16, 12, 16, 12, 13], ["+", 15, 339, 51, 16, 31, 16, 12, 16, 12, 13]] | 1 | 247 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef vector<int> vi;
typedef vector<ll> vl;
#define fori(s, n) for (ll i = s; i <= n; i++)
#define ford(s, n) for (int i = n; i >= s; i--)
#define mp(a, b) make_pair(a, b)
#define pb push_back
... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int, int> pi;
typedef pair<ll, ll> pl;
typedef vector<int> vi;
typedef vector<ll> vl;
#define fori(s, n) for (ll i = s; i <= n; i++)
#define ford(s, n) for (int i = n; i >= s; i--)
#define mp(a, b) make_pair(a, b)
#define pb push_back
... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 152 |
#include <stdio.h>
int digit(int nb) {
int rem;
while (nb != 0) {
rem = nb % 10;
if (rem == 7)
return 1;
nb /= 10;
}
return 0;
}
int main() {
int nb;
scanf("%d", &nb);
int check = digit(nb);
if (check == 1)
printf("YES\n");
else
printf("NO\n");
return 0;
}
| #include <stdio.h>
int digit(int nb) {
int rem;
while (nb != 0) {
rem = nb % 10;
if (rem == 7)
return 1;
nb /= 10;
}
return 0;
}
int main() {
int nb;
scanf("%d", &nb);
int check = digit(nb);
if (check == 1)
printf("Yes\n");
else
printf("No\n");
return 0;
}
| [["-", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 64, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 96 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char[] n = sc.next().toCharArray();
boolean ans = false;
for (int i = 0; i < n.length; i++) {
if (n[i] == 7) {
ans = true;
break;
}
}
System.out.pr... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
char[] n = sc.next().toCharArray();
boolean ans = false;
for (int i = 0; i < n.length; i++) {
if (n[i] == '7') {
ans = true;
break;
}
}
System.out.... | [["-", 8, 196, 0, 57, 15, 15, 0, 16, 12, 499], ["+", 8, 196, 0, 57, 15, 15, 0, 16, 12, 252]] | 3 | 107 |
#include <stdio.h>
int main(void) {
int n;
int f = 0;
scanf("%d", &n);
while (n / 10 != 0) {
if (n % 10 == 7) {
f = 1;
}
n /= 10;
}
if (f == 1) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
}
| #include <stdio.h>
int main(void) {
int n;
int f = 0;
scanf("%d", &n);
while (n > 0) {
if (n % 10 == 7) {
f = 1;
}
n /= 10;
}
if (f == 1) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["-", 0, 52, 15, 23, 0, 16, 31, 16, 17, 85], ["-", 0, 52, 15, 23, 0, 16, 31, 16, 12, 13], ["-", 8, 9, 0, 52, 15, 23, 0, 16, 17, 79], ["+", 8, 9, 0, 52, 15, 23, 0, 16, 17, 47]] | 0 | 85 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(a) int((a).size())
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll n;
cin >> n;
while (n > 0) {
ll r = n % 10;
if (r == 7) {
cou... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(a) int((a).size())
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
cout.tie(0);
ll n;
cin >> n;
while (n > 0) {
ll r = n % 10;
if (r == 7) {
cou... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 100 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main() {
int n;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
cout << "Yes";
return 0;
}
n /= 100;
}
cout << "No";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
int main() {
int n;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
cout << "Yes";
return 0;
}
n /= 10;
}
cout << "No";
return 0;
}
| [["-", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 0, 52, 8, 9, 0, 1, 0, 11, 12, 13]] | 1 | 70 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string temp = to_string(n);
bool flag = false;
for (char c : temp) {
if (c == '7') {
flag = true;
break;
}
}
if (flag) {
cout << "YES" << '\n';
} else {
cout << "NO" << '\n';
}
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
string temp = to_string(n);
bool flag = false;
for (char c : temp) {
if (c == '7') {
flag = true;
break;
}
}
if (flag) {
cout << "Yes" << '\n';
} else {
cout << "No" << '\n';
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 89 |
n = input()
if ('7' in n):
print('Yes')
else:
pritn('No') | n = input()
if ('7' in n):
print('Yes')
else:
print('No') | [["-", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22], ["+", 75, 76, 8, 196, 0, 1, 0, 652, 63, 22]] | 5 | 28 |
// PLUS ULTRA
#include <bits/stdc++.h>
using namespace std;
#define SPEED \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
#... | // PLUS ULTRA
#include <bits/stdc++.h>
using namespace std;
#define SPEED \
ios::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0)
#... | [["+", 0, 14, 8, 9, 0, 1, 0, 16, 31, 22], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 17, 152], ["+", 0, 14, 8, 9, 0, 1, 0, 16, 12, 22], ["+", 0, 30, 0, 14, 8, 9, 0, 1, 0, 35]] | 1 | 138 |
#include <algorithm>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
while (n) {
int m = n % 10;
n = n / 10;
if (m == 7) {
cout << "YES";
return 0;
}
}
cout << "NO";
return 0;
} | #include <algorithm>
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
while (n) {
int m = n % 10;
n = n / 10;
if (m == 7) {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 66 |
// naveen mall
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#... | // naveen mall
#include <bits/stdc++.h>
using namespace std;
#define fast \
ios_base::sync_with_stdio(false); \
cin.tie(0); \
cout.tie(0);
#... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 235 |
#include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; (i) < (n); i++)
... | #include <algorithm>
#include <bitset>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <string>
#include <vector>
#define rep(i, n) for (int i = 0; (i) < (n); i++)
... | [["-", 8, 9, 0, 57, 64, 1, 0, 11, 12, 13], ["+", 8, 9, 0, 57, 64, 1, 0, 11, 12, 13]] | 1 | 443 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, a, b) for (ll i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define PRINT(item) cout << (item) << endl;
#define PRINT_VEC(V) \
for (auto v : (V)) ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define FOR(i, a, b) for (ll i = (a); i < (b); ++i)
#define REP(i, n) FOR(i, 0, n)
#define PRINT(item) cout << (item) << endl;
#define PRINT_VEC(V) \
for (auto v : (V)) ... | [["+", 0, 57, 15, 339, 51, 16, 31, 69, 28, 22], ["+", 15, 339, 51, 16, 31, 69, 341, 342, 0, 70], ["+", 15, 339, 51, 16, 31, 69, 341, 342, 0, 73]] | 1 | 106 |
#include <bits/stdc++.h>
using namespace std;
//#define int long long int
#define pb push_back
#define vec vector<int>
#define fo(i, n) for (int i = 0; i < n; i++)
#define foo(i, a, b) for (int i = a; i < b; i++)
#define mp make_pair
#define deb(x) cout << #x << " --> " << x << endl;
#define deb1a(v) ... | #include <bits/stdc++.h>
using namespace std;
//#define int long long int
#define pb push_back
#define vec vector<int>
#define fo(i, n) for (int i = 0; i < n; i++)
#define foo(i, a, b) for (int i = a; i < b; i++)
#define mp make_pair
#define deb(x) cout << #x << " --> " << x << endl;
#define deb1a(v) ... | [["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 46]] | 1 | 239 |
import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastReader sc = new FastReader();
PrintWriter out = new PrintWriter(System.out);
int n = sc.nextInt();
while (n > 0) {
int k = n % 10;
if (k == 7) {
out.println("YES");
out... | import java.io.*;
import java.util.*;
public class Main {
public static void main(String[] args) {
FastReader sc = new FastReader();
PrintWriter out = new PrintWriter(System.out);
int n = sc.nextInt();
while (n > 0) {
int k = n % 10;
if (k == 7) {
out.println("Yes");
out... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 449 |
#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
// Sat Apr 11 06:23:29 IST 2020
#define forn(i, a, b) for (i = a; i < b; i++)
#define debug(x) cout << #x << " " << x << " -- \n"
#define I__O ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
#define ll lo... | #include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
#include <ext/pb_ds/tree_policy.hpp>
// Sat Apr 11 06:23:29 IST 2020
#define forn(i, a, b) for (i = a; i < b; i++)
#define debug(x) cout << #x << " " << x << " -- \n"
#define I__O ios::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL)
#define ll lo... | [["-", 64, 37, 0, 34, 31, 16, 12, 5, 0, 6], ["+", 64, 37, 0, 34, 31, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 187 |
n=gets
if n.to_s.include?("7")
p "Yes"
else
p "No"
end | n=gets
if n.to_s.include?("7")
puts "Yes"
else
puts "No"
end | [["-", 0, 493, 0, 121, 64, 749, 0, 652, 735, 22], ["+", 0, 493, 0, 121, 64, 749, 0, 652, 735, 22], ["-", 0, 493, 0, 121, 75, 95, 0, 652, 735, 22], ["+", 0, 493, 0, 121, 75, 95, 0, 652, 735, 22]] | 4 | 24 |
#include <bits/stdc++.h>
#define ll long long int
#define pb(x) push_back(x)
#define TEST(t) \
int inox, t; \
cin >> t; \
... | #include <bits/stdc++.h>
#define ll long long int
#define pb(x) push_back(x)
#define TEST(t) \
int inox, t; \
cin >> t; \
... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 99 |
// RAKSHIT KADAM
#include <bits/stdc++.h>
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// #define ordered_set tree< int , null_type , less<int> , rb_tree_tag ,
// tree_order_statistics_node_update>
#warning !!!check the size of arrayss!!!
#defi... | // RAKSHIT KADAM
#include <bits/stdc++.h>
// #include <ext/pb_ds/assoc_container.hpp>
// #include <ext/pb_ds/tree_policy.hpp>
// using namespace __gnu_pbds;
// #define ordered_set tree< int , null_type , less<int> , rb_tree_tag ,
// tree_order_statistics_node_update>
#warning !!!check the size of arrayss!!!
#defi... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 226 |
// I am so vegetable
//#define _LOCAL_
#pragma GCC optimize(2)
#include <bits/stdc++.h>
#define FIO ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define PB push_back
#define IN insert
#define ER erase
#define CT count
#define EP empty
#define _for(i, a, b) for (int i = (a); i < (b); ++i)
#define _rfor(i, a, b) ... | // I am so vegetable
//#define _LOCAL_
#pragma GCC optimize(2)
#include <bits/stdc++.h>
#define FIO ios::sync_with_stdio(false), cin.tie(0), cout.tie(0)
#define PB push_back
#define IN insert
#define ER erase
#define CT count
#define EP empty
#define _for(i, a, b) for (int i = (a); i < (b); ++i)
#define _rfor(i, a, b) ... | [["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 269 |
import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy
N = int(input())
if N % 10 == 7 or N // 10 % 10 == 7 or N // 10 % 10 == 7... | import sys
import heapq, math
from itertools import zip_longest, permutations, combinations, combinations_with_replacement
from itertools import accumulate, dropwhile, takewhile, groupby
from functools import lru_cache
from copy import deepcopy
N = int(input())
if N % 10 == 7 or N // 10 % 10 == 7 or N // 100 % 10 == ... | [["-", 15, 679, 12, 666, 0, 657, 31, 657, 12, 612], ["+", 15, 679, 12, 666, 0, 657, 31, 657, 12, 612]] | 5 | 79 |
n = input()
if n.count() == 0:
print('No')
else:
print('Yes') | n = input()
if n.count('7') == 0:
print('No')
else:
print('Yes') | [["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 28 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.