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 = list(input())
if S.count(7):
print('Yes')
else:
print('No')
| S = list(input())
if S.count('7'):
print('Yes')
else:
print('No')
| [["+", 0, 57, 15, 652, 3, 4, 0, 557, 0, 654], ["+", 0, 57, 15, 652, 3, 4, 0, 557, 0, 655]] | 5 | 30 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
if (s[i] == '7') {
cout << "YES\n";
return 0;
}
}
cout << "NO\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
if (s[i] == '7') {
cout << "Yes\n";
return 0;
}
}
cout << "No\n";
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 | 72 |
#include <stdio.h>
int main() {
char a[4];
scanf("%s", a);
for (int i = 0;; i++) {
if (a[i] == '7') {
printf("yes\n");
break;
}
if (a[i] == '\0') {
printf("no\n");
break;
}
}
} | #include <stdio.h>
int main() {
char a[4];
scanf("%s", a);
for (int i = 0;; i++) {
if (a[i] == '7') {
printf("Yes\n");
break;
}
if (a[i] == '\0') {
printf("No\n");
break;
}
}
} | [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 82 |
#include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string s;
cin >> s;
if (s.find("7") == string::npos)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
#define rep(i, n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
string s;
cin >> s;
if (s.find("7") != string::npos)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 79]] | 1 | 78 |
print(['Yes', 'No']['7' in input()]) | print(['No', 'Yes']['7' in input()]) | [["-", 3, 4, 0, 206, 51, 634, 0, 557, 0, 6], ["+", 3, 4, 0, 206, 51, 634, 0, 557, 0, 6]] | 5 | 21 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool x;
for (char c : s)
if (c == '7')
x = false;
if (x)
cout << "No" << endl;
else
cout << "Yes" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
bool x = true;
for (char c : s)
if (c == '7')
x = false;
if (x)
cout << "No" << endl;
else
cout << "Yes" << endl;
} | [["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 0, 14, 8, 9, 0, 43, 49, 50, 51, 146]] | 1 | 62 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
int f = 0;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
cout << "YES\n";
f = 1;
break;
}
n /= 10;
}
if (f == 0) {
cout << "NO\n";
}
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
int f = 0;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
cout << "Yes\n";
f = 1;
break;
}
n /= 10;
}
if (f == 0) {
cout << "No\n";
}
return 0;
} | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
for (int i : N) {
if (i == 7) {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string N;
cin >> N;
for (char i : N) {
if (i == '7') {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
return 0;
} | [["-", 0, 30, 0, 14, 8, 9, 0, 338, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 338, 39, 40], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 104]] | 1 | 58 |
string=input()
t=False
for i in range (len(string)):
if string[i]=="7":
t=True
if t==True:
print("YES")
else:
print("NO") | string=input()
t=False
for i in range (len(string)):
if string[i]=="7":
t=True
if t==True:
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 | 51 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
scanf("%d", &n);
int flag = 0;
while (n) {
if (n % 10 == 7)
flag = 1;
n /= 10;
}
if (flag)
printf("YES\n");
else
printf("NO\n");
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
scanf("%d", &n);
int flag = 0;
while (n) {
if (n % 10 == 7)
flag = 1;
n /= 10;
}
if (flag)
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]] | 1 | 76 |
import math
#数字の各桁の抽出,桁抽出
N = int(input())
#Nを下の桁から取る
while N!=0:
ketasu = int(math.log10(N)//1 + 1)
top_keta = N // 10**(ketasu-1)
print(top_keta)
if top_keta == 7:
print("Yes")
break
N = N - top_keta*10**(ketasu-1)
else:
print("No") | #162a
import math
#数字の各桁の抽出,桁抽出
N = int(input())
#Nを下の桁から取る
while N!=0:
ketasu = int(math.log10(N)//1 + 1)
top_keta = N // 10**(ketasu-1)
#print(top_keta)
if top_keta == 7:
print("Yes")
break
N = N - top_keta*10**(ketasu-1)
else:
print("No") | [["-", 0, 52, 8, 196, 0, 1, 0, 652, 63, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 24], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 22], ["-", 8, 196, 0, 1, 0, 652, 3, 4, 0, 25]] | 5 | 80 |
n=int(input())
res="No"
for i in range(3):
if n%7==0:
res="Yes"
n//=10
print (res) | n=int(input())
res="No"
for i in range(3):
if n%10==7:
res="Yes"
n//=10
print (res)
| [["-", 8, 196, 0, 57, 15, 666, 0, 657, 12, 612], ["+", 8, 196, 0, 57, 15, 666, 0, 657, 12, 612], ["-", 0, 7, 8, 196, 0, 57, 15, 666, 0, 612], ["+", 0, 7, 8, 196, 0, 57, 15, 666, 0, 612]] | 5 | 40 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String a = br.readLine();
if (a.contains("7")) {
... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
String a = br.readLine();
if (a.contains("7")) {
... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 102 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
for (int i = 0; i < 3; i++) {
if (a % 10 == 7) {
cout << "YES\n";
return 0;
}
a = a / 10;
}
cout << "NO\n";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
for (int i = 0; i < 3; i++) {
if (a % 10 == 7) {
cout << "Yes\n";
return 0;
}
a = a / 10;
}
cout << "No\n";
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 | 71 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, reminder = 0, count = 0;
cin >> n;
while (n != 0) {
reminder = n % 10;
n /= 10;
if (reminder == 7)
count++;
}
if (count = 0)
cout << "NO" << endl;
else
cout << "YES" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n, reminder = 0, count = 0;
cin >> n;
while (n != 0) {
reminder = n % 10;
n /= 10;
if (reminder == 7)
count++;
}
if (count >= 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["-", 8, 9, 0, 57, 15, 339, 51, 11, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 20], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["-", 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,... | 1 | 80 |
#include <stdio.h>
int main(void) {
int s[4];
scanf("%s", s);
if (s[0] == 7 || s[1] == 7 || s[2] == 7)
puts("Yes");
else
puts("No");
return 0;
} | #include <stdio.h>
int main(void) {
char s[4];
scanf("%s", s);
if (s[0] == '7' || s[1] == '7' || s[2] == '7')
puts("Yes");
else
puts("No");
return 0;
}
| [["-", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 30, 0, 14, 8, 9, 0, 43, 39, 40], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 12, 16, 12, 103, 0, 104], ["+", 15, 23, 0, 16, 12, 16, 12, 103, 0, 104]] | 0 | 65 |
#include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
while (n > 0) {
if (n % 10 == 7) {
cout << "yes" << endl;
return 0;
}
n /= 10;
}
... | #include <algorithm>
#include <iostream>
#include <map>
#include <queue>
#include <stack>
#include <string>
#include <unordered_map>
#include <vector>
using namespace std;
int main() {
int n;
cin >> n;
while (n > 0) {
if (n % 10 == 7) {
cout << "Yes" << endl;
return 0;
}
n /= 10;
}
... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 74 |
#include <bits/stdc++.h>
#define ll long long int
#define MAX 1000003
#define pii pair<ll, ll>
#define VP vector<pii>
#define MOD 1000000007
#define mp make_pair
#define pb push_back
#define rep(i, a, b) for (ll(i) = (a); (i) < (b); (i)++)
#define all(v) (v).begin(), (v).end()
#define S(x) scanf("%d", &(x))
#define S2(... | #include <bits/stdc++.h>
#define ll long long int
#define MAX 1000003
#define pii pair<ll, ll>
#define VP vector<pii>
#define MOD 1000000007
#define mp make_pair
#define pb push_back
#define rep(i, a, b) for (ll(i) = (a); (i) < (b); (i)++)
#define all(v) (v).begin(), (v).end()
#define S(x) scanf("%d", &(x))
#define S2(... | [["-", 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 | 162 |
from sys import stdin
if __name__ == "__main__":
_in = [_.rstrip() for _ in stdin.readlines()]
N = _in[0] # type:str
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
TF = True if '7' in N else False
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
print(TF)
| from sys import stdin
if __name__ == "__main__":
_in = [_.rstrip() for _ in stdin.readlines()]
N = _in[0] # type:str
# vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
TF = 'Yes' if '7' in N else 'No'
# ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
print(TF)
| [["-", 64, 196, 0, 1, 0, 662, 12, 41, 0, 146], ["+", 0, 1, 0, 662, 12, 41, 0, 557, 0, 654], ["+", 0, 1, 0, 662, 12, 41, 0, 557, 0, 6], ["+", 0, 1, 0, 662, 12, 41, 0, 557, 0, 655], ["-", 64, 196, 0, 1, 0, 662, 12, 41, 0, 147]] | 5 | 52 |
n=int(input())
if n%10 == 7 or (n/10)%10==7 or (n/100)%10==7:
print("Yes")
else:
print("No") | n=int(input())
if n%10 == 7 or (n//10)%10==7 or (n//100)%10==7:
print("Yes")
else:
print("No")
| [["-", 12, 666, 0, 657, 31, 23, 0, 657, 17, 85], ["+", 12, 666, 0, 657, 31, 23, 0, 657, 17, 676]] | 5 | 49 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String a = in.next();
int l = a.length();
int flag = 0;
for (int i = 0; i < l; i++) {
if (a.charAt(i) == '7') {
flag = 1;
break;
}
}
if (flag... |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
String a = in.next();
int l = a.length();
int flag = 0;
for (int i = 0; i < l; i++) {
if (a.charAt(i) == '7') {
flag = 1;
break;
}
}
if (flag... | [["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 124 |
#include <iostream>
using namespace std;
int seven(int n) {
while (n != 0) {
if (n % 10 == 7)
return 1;
else
n /= 10;
}
return 0;
}
int main() {
int n;
cin >> n;
if (seven(n))
cout << "YES";
else
cout << "NO";
return 0;
} | #include <iostream>
using namespace std;
int seven(int n) {
while (n != 0) {
if (n % 10 == 7)
return 1;
else
n /= 10;
}
return 0;
}
int main() {
int n;
cin >> n;
if (seven(n))
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 | 77 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
while (n != 0)
{
if (n % 10 == 7) {
cout << "YES";
return 0;
}
n /= 10;
}
cout << "NO";
}
| #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
while (n != 0)
{
if (n % 10 == 7) {
cout << "Yes";
return 0;
}
n /= 10;
}
cout << "No";
}
| [["-", 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 | 56 |
A
#input
N = int(input())
#output
if "7" in str(N):
print("Yes")
else:
print("No") | #input
N = int(input())
#output
if "7" in str(N):
print("Yes")
else:
print("No") | [["-", 36, 36, 36, 36, 0, 656, 0, 1, 0, 22]] | 5 | 35 |
#include <bits/stdc++.h>
using namespace std;
signed main() {
int n;
cin >> n;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
cout << "Yes\n";
return (0);
}
}
cout << "No\n";
return (0);
} | #include <bits/stdc++.h>
using namespace std;
signed main() {
int n;
cin >> n;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
cout << "Yes\n";
return (0);
}
n /= 10;
}
cout << "No\n";
return (0);
}
| [["+", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 17, 90], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 12, 13], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 1 | 69 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define sz 250
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
string str;
cin >> str;
bool flag = false;
for (int i = 0; i < str.size(); i++) {
if (str[i] == '7') {
flag = true;
break;
}
}
if... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define sz 250
int gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
int main() {
string str;
cin >> str;
bool flag = false;
for (int i = 0; i < str.size(); i++) {
if (str[i] == '7') {
flag = true;
break;
}
}
if... | [["-", 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 | 120 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
while (n != 0) {
int a = n % 10;
if (a == 7) {
cout << "YES"
<< "\n";
return 0;
}
n = n / 10;
}
cout << "NO"
<< "\n";
} | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
while (n != 0) {
int a = n % 10;
if (a == 7) {
cout << "Yes"
<< "\n";
return 0;
}
n = n / 10;
}
cout << "No"
<< "\n";
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 71 |
input_string = input()
yes = 0
for n in input_string:
if n == '7':
print('Yes')
yes = 1
break
if yes:
print('No') | input_string = input()
yes = 0
for n in input_string:
if n == '7':
print('Yes')
yes = 1
break
if not yes:
print('No')
| [["+", 36, 36, 0, 656, 0, 57, 15, 681, 0, 372]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, x;
while (n > 0) {
x = n % 10;
if (x == 7) {
cout << "Yes" << endl;
return 0;
}
n /= 10;
}
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, x;
cin >> n;
while (n > 0) {
x = n % 10;
if (x == 7) {
cout << "Yes" << endl;
return 0;
}
n /= 10;
}
cout << "No" << endl;
return 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 | 65 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
while (n > 0) {
int d = n % 10;
n = n / 10;
if (d == 3) {
cout << "Yes";
exit(0);
}
}
cout << "No";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
int n;
cin >> n;
while (n > 0) {
int d = n % 10;
n = n / 10;
if (d == 7) {
cout << "Yes";
exit(0);
}
}
cout << "No";
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 86 |
#ifdef lolipop
#define _GLIBCXX_DEBUG
#endif
/*
This ain't a milly rock
This a money dance
And my D' ain't hard
That's a '30 in my pants
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>... | #ifdef lolipop
#define _GLIBCXX_DEBUG
#endif
/*
This ain't a milly rock
This a money dance
And my D' ain't hard
That's a '30 in my pants
*/
#include <algorithm>
#include <bitset>
#include <cassert>
#include <cmath>
#include <deque>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>... | [["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 201 |
n = gets.chomp.to_s
if n.include?('7')
puts "YES"
else
puts "NO"
end
| n = gets.chomp.to_s
if n.include?('7')
puts "Yes"
else
puts "No"
end
| [["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["-", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 75, 95, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 26 |
f;
main(n) {
for (; ~scanf("%c", &n);)
f = n == 55;
puts(f ? "Yes" : "No");
} | f;
main(n) {
for (; ~scanf("%c", &n);)
f += n == 55;
puts(f ? "Yes" : "No");
} | [["-", 8, 9, 0, 7, 8, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 7, 8, 1, 0, 11, 17, 107]] | 0 | 42 |
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
bool solve(int n) {
while (n) {
if (n % 10 == 7) {
return true;
}
n = n / 10;
}
return false;
}
int main() {
int n;
cin >> n;
if (solve(n)) {
cout << "... | #include <algorithm>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
bool solve(int n) {
while (n) {
if (n % 10 == 7) {
return true;
}
n = n / 10;
}
return false;
}
int main() {
int n;
cin >> n;
if (solve(n)) {
cout << "... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 96 |
// Nguyen Anh Tu
#include <bits/stdc++.h>
#define FOR(x, a, b) for (int x = a; x <= b; x++)
#define FORD(x, a, b) for (int x = a; x >= b; x--)
#define maxn 100005
#define maxc 1000000007
#define MOD 1000000007
#define reset(x, y) memset(x, y, sizeof(x))
#define task ""
#define mp make_pair
#define pb push_back
#define ... | // Nguyen Anh Tu
#include <bits/stdc++.h>
#define FOR(x, a, b) for (int x = a; x <= b; x++)
#define FORD(x, a, b) for (int x = a; x >= b; x--)
#define maxn 100005
#define maxc 1000000007
#define MOD 1000000007
#define reset(x, y) memset(x, y, sizeof(x))
#define task ""
#define mp make_pair
#define pb push_back
#define ... | [["-", 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 | 192 |
#include <iostream>
int main() {
int n;
std::cin >> n;
while (n > 10) {
if (n % 10 == 7) {
std::cout << "Yes" << std::endl;
return 0;
}
n /= 10;
}
std::cout << "No" << std::endl;
return 0;
} | #include <iostream>
int main() {
int n;
std::cin >> n;
while (n > 0) {
if (n % 10 == 7) {
std::cout << "Yes" << std::endl;
return 0;
}
n /= 10;
}
std::cout << "No" << std::endl;
return 0;
}
| [["-", 8, 9, 0, 52, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 52, 15, 339, 51, 16, 12, 13]] | 1 | 69 |
N = gets.to_s
a = N.count("7")
if a >= 1
puts "YES"
else
puts "No"
end | N = gets.to_s
a = N.count("7")
if a >= 1
puts "Yes"
else
puts "No"
end | [["-", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 64, 749, 0, 652, 3, 4, 0, 557, 0, 6]] | 4 | 29 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int arr[1001];
int main() {
// #ifndef oj
// freopen("in", "r", stdin);
// freopen("out.txt","w",stdout);
//#endif
// system("cls");
// getchar();
string s, ans = "N0";
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int arr[1001];
int main() {
// #ifndef oj
// freopen("in", "r", stdin);
// freopen("out.txt","w",stdout);
//#endif
// system("cls");
// getchar();
string s, ans = "No";
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == ... | [["-", 8, 9, 0, 43, 49, 50, 51, 5, 0, 6], ["+", 8, 9, 0, 43, 49, 50, 51, 5, 0, 6]] | 1 | 89 |
#include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define all(x) x... | #include <bits/stdc++.h>
using namespace std;
#define IOS \
ios::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
#define all(x) x... | [["+", 0, 52, 8, 9, 0, 338, 8, 9, 0, 46], ["-", 0, 52, 8, 9, 0, 338, 8, 9, 0, 46]] | 1 | 262 |
#include <algorithm>
#include <cstring>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
string N;
cin >> N;
for (int i = 0; i < N.length(); i++) {
if (N[i] == '7') {
cout << "Yes" << endl;
return 0;
}
}
cout << "NO";
return 0;
} | #include <algorithm>
#include <cstring>
#include <iostream>
#include <stdio.h>
using namespace std;
int main() {
string N;
cin >> N;
for (int i = 0; i < N.length(); i++) {
if (N[i] == '7') {
cout << "Yes" << endl;
return 0;
}
}
cout << "No";
return 0;
} | [["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 78 |
/*input
111
*/
/*
_==/ i i \==_
/XX/ |\___/| \XX\
/XXXX\ |XXXXX| /XXXX\
|XXXXXX\_ _XXXXXXX_ _/XXXXXX|
XXXXXXXXXXXxxxxxxxXXXXXXXXXXXxxxxxxxXXXXXXXXXXX
|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
XXXXXXXXXXXXXXXXXXXX... | /*input
170
*/
/*
_==/ i i \==_
/XX/ |\___/| \XX\
/XXXX\ |XXXXX| /XXXX\
|XXXXXX\_ _XXXXXXX_ _/XXXXXX|
XXXXXXXXXXXxxxxxxxXXXXXXXXXXXxxxxxxxXXXXXXXXXXX
|XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX|
XXXXXXXXXXXXXXXXXXXX... | [["-", 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], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 0, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 0, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 238 |
#include <cstring>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
string number;
cin >> number;
int numberF = number.find("7");
if (numberF == string::npos) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
} | #include <cstring>
#include <iostream>
#include <math.h>
using namespace std;
int main() {
string number;
cin >> number;
int numberF = number.find("7");
if (numberF == string::npos) {
cout << "No" << endl;
} else {
cout << "Yes" << endl;
}
return 0;
} | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 67 |
#include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return __gcd(a, b); }
int main() {
int n, r;
std::cin >> n;
bool b = false;
while (n != 0) {
r = n % 10;
n /= 10;
if (r == 7) {
b = true;
break;
}
}
if (b)
cout << "YES" << std::endl;
else
cout << "N... | #include <bits/stdc++.h>
using namespace std;
int gcd(int a, int b) { return __gcd(a, b); }
int main() {
int n, r;
std::cin >> n;
bool b = false;
while (n != 0) {
r = n % 10;
n /= 10;
if (r == 7) {
b = true;
break;
}
}
if (b)
cout << "Yes" << endl;
else
cout << "No" <<... | [["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 57, 64, 1, 0, 16, 12, 343, 345, 348], ["-", 0, 57, 64, 1, 0, 16, 12, 343, 0, 349], ["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 75, 76, 0, 1, 0, 16, 12, 343, 345, 348], ["-", 75, 76, ... | 1 | 107 |
#include <bits/stdc++.h>
using namespace std;
int main() {
unsigned long long n, flag = 0;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
flag = 1;
}
n = n / 10;
}
if (flag == 1)
cout << "YES" << endl;
else
cout << "NO" << endl;
return 0;
}
|
#include <bits/stdc++.h>
using namespace std;
int main() {
long long n, flag = 0;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
flag = 1;
}
n = n / 10;
}
if (flag == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 43, 39, 86, 0, 87], ["-", 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 | 79 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
string ans;
for (int i = 0; i < n.size(); i++) {
if (n[i] == '7')
ans = "Yes";
}
cout << ans << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
string ans = "No";
for (int i = 0; i < n.size(); i++) {
if (n[i] == '7')
ans = "Yes";
}
cout << ans << endl;
return 0;
}
| [["+", 0, 14, 8, 9, 0, 43, 49, 50, 0, 32], ["+", 8, 9, 0, 43, 49, 50, 51, 5, 0, 62], ["+", 8, 9, 0, 43, 49, 50, 51, 5, 0, 6]] | 1 | 68 |
a=int(input())
s=str(a)
l=list(s)
y="7"
if y in l==1:
print("Yes")
else:
print("No") | a=int(input())
s=str(a)
l=list(s)
y="7"
if y in l:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 60], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 612]] | 5 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
while (n) {
if (n % 10 == 7) {
cout << "YES";
return 0;
}
n /= 10;
}
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
while (n) {
if (n % 10 == 7) {
cout << "Yes";
return 0;
}
n /= 10;
}
cout << "No";
}
| [["-", 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 | 54 |
//----------BHAVIK DIWANI(PICT_COMP)---------------
#include <bits/stdc++.h>
#include <stdio.h>
#include <stdlib.h>
#define mod 1000000007
#define ll long long
#define int long long
#define ull unsigned long long
#define test \
ll t; ... | //----------BHAVIK DIWANI(PICT_COMP)---------------
#include <bits/stdc++.h>
#include <stdio.h>
#include <stdlib.h>
#define mod 1000000007
#define ll long long
#define int long long
#define ull unsigned long long
#define test \
ll t; ... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 483 |
#include <bits/stdc++.h>
#define ll long long
#define F first
#define S second
#define FF first.first
#define FS first.second
#define pb push_back
using namespace std;
const ll N = 1000006, INF = 1e10, MOD = 998244353;
ll n, q = 1, a[N], b[N], c[N], f[N], m, x, y, z, o = 3, h, w, mx, mn, ans = INF,
Ans;
string s... | #include <bits/stdc++.h>
#define ll long long
#define F first
#define S second
#define FF first.first
#define FS first.second
#define pb push_back
using namespace std;
const ll N = 1000006, INF = 1e10, MOD = 998244353;
ll n, q = 1, a[N], b[N], c[N], f[N], m, x, y, z, o = 3, h, w, mx, mn, ans = INF,
Ans;
string s... | [["-", 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 | 180 |
number = int(input())
flag = False
for i in range(len(number)):
if int(number[i])==7:
flag = True
break
if(flag):
print("Yes")
else:
print("No")
| number = str(input())
flag = False
for i in range(len(number)):
if int(number[i])==7:
flag = True
break
if(flag):
print("Yes")
else:
print("No")
| [["-", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22], ["+", 0, 656, 0, 1, 0, 662, 12, 652, 63, 22]] | 5 | 56 |
import java.util.Scanner;
class Main {
public static final String SEVEN = "7";
public static void main(final String[] args) {
Scanner scan = new Scanner(System.in);
int inputN = scan.nextInt();
scan.close();
String numN = String.valueOf(inputN);
String charN = null;
for (int i = 0; i < nu... | import java.util.Scanner;
class Main {
public static final String SEVEN = "7";
public static void main(final String[] args) {
Scanner scan = new Scanner(System.in);
int inputN = scan.nextInt();
scan.close();
String numN = String.valueOf(inputN);
String charN = null;
for (int i = 0; i < nu... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 171 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
ll power(ll b, ll e) {
if (e == 0)
return 1;
if (e & 1)
return b * power(b * b, e / 2);
return power(b * b, e / 2);
}
ll power(ll b, ll e, ll m) {
if (e == 0)
return 1;
if (e & 1)
return b * power(b * b % m, e... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define endl "\n"
ll power(ll b, ll e) {
if (e == 0)
return 1;
if (e & 1)
return b * power(b * b, e / 2);
return power(b * b, e / 2);
}
ll power(ll b, ll e, ll m) {
if (e == 0)
return 1;
if (e & 1)
return b * power(b * b % m, e... | [["-", 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 | 235 |
N = input()
length_N = len(N)
count = 0
for i in range(length_N):
if N[i] == '7':
print('yes')
count += 1
break
if count == 0:
print('no') | N = input()
length_N = len(N)
count = 0
for i in range(length_N):
if N[i] == '7':
print('Yes')
count += 1
break
if count == 0:
print('No') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 53 |
# 入力N:3桁の整数
N = input()
print("Yes" if str(N).index("7") != -1 else "No") | # 入力N:3桁の整数
N = input()
print("Yes" if str(N).count("7") != 0 else "No") | [["-", 0, 41, 0, 666, 0, 652, 63, 319, 319, 22], ["+", 0, 41, 0, 666, 0, 652, 63, 319, 319, 22], ["-", 3, 4, 0, 41, 0, 666, 0, 664, 17, 33], ["-", 3, 4, 0, 41, 0, 666, 0, 664, 28, 612], ["+", 0, 652, 3, 4, 0, 41, 0, 666, 0, 612]] | 5 | 31 |
if __name__ == "__main__":
n = input()
if '7' in n:
print('yes')
else:
print('no') | if __name__ == "__main__":
n = 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 | 33 |
void main() {
char a[4];
scanf("%s", &a);
if (a[0] == 7 || a[1] == 7 || a[2] == 7)
printf("Yes");
else
printf("No");
} | int main() {
char a[4];
scanf("%s", &a);
if (a[0] == '7' || a[1] == '7' || a[2] == '7')
printf("Yes");
else
printf("No");
} | [["-", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["+", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["+", 0, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 0, 16, 31, 16, 12, 16, 12, 103, 0, 104], ["+", 15, 23, 0, 16, 12, 16, 12, 103, 0, 104]] | 0 | 60 |
#include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define MOD 1000000007
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
cout << "Yes" << endl;
return 0;
}
n %= 10;
}
cout << "No" << endl;
return 0;
}
| #include <bits/stdc++.h>
#define all(x) (x).begin(), (x).end()
#define MOD 1000000007
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 0; i < 4; i++) {
if (n % 10 == 7) {
cout << "Yes" << endl;
return 0;
}
n /= 10;
}
cout << "No" << endl;
return 0;
}
| [["-", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13], ["-", 0, 7, 8, 9, 0, 1, 0, 11, 17, 132], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 17, 90]] | 1 | 80 |
N = input()
flag = 0
for i in N:
if i == '7':
flag = 1
print('yes')
break
if flag == 0:
print('no') | N = input()
flag = 0
for i in N:
if i == '7':
flag = 1
print('Yes')
break
if flag == 0:
print('No') | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 41 |
#include <bits/stdc++.h>
using namespace std;
#define debug(x) \
{ cerr << #x < " = " << x << endl; }
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
int seven;
while (n) {
seven = n % 10;
if (seven == 7... | #include <bits/stdc++.h>
using namespace std;
#define debug(x) \
{ cerr << #x < " = " << x << endl; }
int main() {
ios_base::sync_with_stdio(false);
cin.tie(0);
int n;
cin >> n;
int seven;
while (n) {
seven = n % 10;
if (seven == 7... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 96 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
bool flag = false;
while (n != 0) {
if (n % 10 == 7) {
flag = true;
break;
}
n /= 10;
}
(flag == true) ? cout << "YES" : cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
bool flag = false;
while (n != 0) {
if (n % 10 == 7) {
flag = true;
break;
}
n /= 10;
}
(flag == true) ? cout << "Yes" : cout << "No";
return 0;
} | [["-", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 64, 16, 12, 5, 0, 6], ["-", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 41, 75, 16, 12, 5, 0, 6]] | 1 | 73 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (auto x : s) {
if (x == '7') {
cout << "YES";
return 0;
}
}
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
for (auto x : s) {
if (x == '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 | 56 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if ((n % 10 == 7) || ((n / 10) % 10 == 7) || ((n / 100) % 10 == 7)) {
cout << "YES" << endl;
} else {
cout << "NO" << endl;
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
if ((n % 10 == 7) || ((n / 10) % 10 == 7) || ((n / 100) % 10 == 7)) {
cout << "Yes" << endl;
} else {
cout << "No" << endl;
}
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 74 |
n=int(input())
while n>0:
if n%10==7:
print("Yes")
exit()
n=n//10
print("NO") | n=int(input())
while n>0:
if n%10==7:
print("Yes")
exit()
n=n//10
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 40 |
s = input()
print("YES" if '7' in s else "NO") | s = input()
print("Yes" if '7' in s else "No") | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 21 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
using ll = long long;
int main() {
int n, div, flag = 0;
cin >> n;
while (n != 0) {
div = n % 10;
if (div == 7) {
flag = 1;
break;
}
n = n / 10;
}
(flag == 1) ? cout << "YES" << endl : cout << "NO" << endl;
return ... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
using ll = long long;
int main() {
int n, div, flag = 0;
cin >> n;
while (n != 0) {
div = n % 10;
if (div == 7) {
flag = 1;
break;
}
n = n / 10;
}
(flag == 1) ? cout << "Yes" << endl : cout << "No" << endl;
return ... | [["-", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 64, 16, 31, 16, 12, 5, 0, 6], ["-", 0, 41, 75, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 41, 75, 16, 31, 16, 12, 5, 0, 6]] | 1 | 92 |
#include <bits/stdc++.h>
#define inf 0x7fffffff
#define ll long long
#define REP(i, a, b) for (int i = a; i <= b; i++)
using namespace std;
string solve(int n) {
int rem = 0;
while (n) {
rem = n % 10;
if (rem == 7)
return "YES";
n = n / 10;
}
return "NO";
}
int main() {
ios_base::sync_with_s... | #include <bits/stdc++.h>
#define inf 0x7fffffff
#define ll long long
#define REP(i, a, b) for (int i = a; i <= b; i++)
using namespace std;
string solve(int n) {
int rem = 0;
while (n) {
rem = n % 10;
if (rem == 7)
return "Yes";
n = n / 10;
}
return "No";
}
int main() {
ios_base::sync_with_s... | [["-", 8, 9, 0, 57, 64, 37, 0, 5, 0, 6], ["+", 8, 9, 0, 57, 64, 37, 0, 5, 0, 6], ["-", 0, 14, 8, 9, 0, 37, 0, 5, 0, 6], ["+", 0, 14, 8, 9, 0, 37, 0, 5, 0, 6]] | 1 | 110 |
n = input()
l = []
for _ in range(len(n)):
x = int(n)%10
n = int(n)//10
if x ==7:
print("YES")
break
else:print("No") | n = input()
for _ in range(len(n)):
x = int(n)%10
n = int(n)//10
if x ==7:
print("Yes")
break
else:print("No") | [["-", 36, 36, 0, 656, 0, 1, 0, 662, 31, 22], ["-", 36, 36, 0, 656, 0, 1, 0, 662, 0, 32], ["-", 0, 656, 0, 1, 0, 662, 12, 634, 0, 70], ["-", 0, 656, 0, 1, 0, 662, 12, 634, 0, 73], ["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 56 |
#include <iostream>
using namespace std;
int main(int argc, char **argv) {
string a;
cin >> a;
for (auto x : a) {
if (x == '7') {
puts("YES");
return 0;
}
}
puts("NO");
return 0;
} | #include <iostream>
using namespace std;
int main(int argc, char **argv) {
string a;
cin >> a;
for (auto x : a) {
if (x == '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 | 65 |
print('Yes' if all([i == '7' for i in input()]) else 'No') | print('Yes' if any([i == '7' for i in input()]) else 'No') | [["-", 0, 652, 3, 4, 0, 41, 0, 652, 63, 22], ["+", 0, 652, 3, 4, 0, 41, 0, 652, 63, 22]] | 5 | 27 |
// O7Oo7oO7O
#include <bits/stdc++.h>
#define IOS \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
using namespace std;
... | // O7Oo7oO7O
#include <bits/stdc++.h>
#define IOS \
ios_base::sync_with_stdio(0); \
cin.tie(0); \
cout.tie(0);
using namespace std;
... | [["-", 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 | 83 |
n = int(input()) #3桁の整数を入力
for i in range(3):
tmp = n % 10
if tmp == 7:
print('Yes')
break
if i == 2:
print('No')
n = n / 10 | n = int(input()) #3桁の整数を入力
for i in range(3):
tmp = n % 10
if tmp == 7:
print('Yes')
break
if i == 2:
print('No')
n = int(n / 10) | [["+", 8, 196, 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, 25]] | 5 | 50 |
<?php
fscanf(STDIN, "%d", $N);
$N = str_split($N);
foreach ($N as $N_1) {
if ($N_1 === 7){
echo 'Yes';
exit;
}
}
echo 'No'; | <?php
fscanf(STDIN, "%d", $N);
$N = str_split($N);
foreach ($N as $N_1) {
if ($N_1 == 7){
echo 'Yes';
exit;
}
}
echo 'No'; | [["-", 8, 9, 0, 57, 15, 23, 0, 16, 17, 565], ["+", 8, 9, 0, 57, 15, 23, 0, 16, 17, 60]] | 6 | 53 |
#include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<string> VS;
typedef vector<PII> VII;
typedef vector<VI> VVI;
typedef map<int, int> MPII;
typedef set<int> SETI;
int main() {
int N;
cin >> N;
bool ok = false;
while (N > 0) {
ok = N % 10 == 7;
... | #include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> PII;
typedef vector<int> VI;
typedef vector<string> VS;
typedef vector<PII> VII;
typedef vector<VI> VVI;
typedef map<int, int> MPII;
typedef set<int> SETI;
int main() {
int N;
cin >> N;
bool ok = false;
while (N > 0) {
if (N % 10 == 7)
... | [["-", 0, 52, 8, 9, 0, 1, 0, 11, 31, 22], ["-", 0, 52, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 52, 8, 9, 0, 57, 0, 121], ["+", 0, 52, 8, 9, 0, 57, 15, 339, 0, 24], ["+", 0, 52, 8, 9, 0, 57, 15, 339, 0, 25], ["+", 8, 9, 0, 57, 64, 1, 0, 11, 31, 22], ["+", 8, 9, 0, 57, 64, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 57, 64, 1, ... | 1 | 111 |
N = int(input())
digit = len(str(N))
for i in range(digit):
if N % 10 == 7:
print('Yes')
exit()
N = N / 10
print('No')
| N = int(input())
digit = len(str(N))
for i in range(digit):
if N % 10 == 7:
print('Yes')
exit()
N = N // 10
print('No')
| [["-", 8, 196, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 52 |
A=input()
if A in "7":
print("Yes")
else:
print("No") | A=input()
if "7" in A:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 267], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 267], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]] | 5 | 26 |
#include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios_base::sync_with_stdio(false);
int n;
cin >> n;
int c = 0;
int x;
while (n) {
x = n % 10;
n = n / 10;
if (x == 7) {
c++;
}
}
if (x > 0) {
cout << "Yes";
} else {
cout << "No";
}
} | #include <bits/stdc++.h>
using namespace std;
int main() {
cin.tie(0);
ios_base::sync_with_stdio(false);
int n;
cin >> n;
int c = 0;
int x;
while (n) {
x = n % 10;
n = n / 10;
if (x == 7) {
c++;
}
}
if (c > 0) {
cout << "Yes";
} else {
cout << "No";
}
}
| [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 93 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int f = 0;
while (n) {
int d = n % 10;
if (d == 7)
f = 1;
n /= 10;
}
if (f == 1)
cout << "YES";
else
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
cin >> n;
int f = 0;
while (n) {
int d = n % 10;
if (d == 7)
f = 1;
n /= 10;
}
if (f == 1)
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 | 73 |
N = input()
pos = N.find('7')
if pos > 0:
print('Yes')
else:
print('No') | N = input()
pos = N.find('7')
if pos >= 0:
print('Yes')
else:
print('No') | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 47], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 20]] | 5 | 34 |
#include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define foru(i, a, b) for (int i = a; i <= b; i++)
#define ford(i, a, b) for (int i = a; i >= b; i--)
#define endl "\n"
#define ... | #include <bits/stdc++.h>
using namespace std;
#define fi first
#define se second
#define mp make_pair
#define pb push_back
#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()
#define foru(i, a, b) for (int i = a; i <= b; i++)
#define ford(i, a, b) for (int i = a; i >= b; i--)
#define endl "\n"
#define ... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 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 | 425 |
#include <iostream>
using namespace std;
int main() {
int num;
cin >> num;
int count = 0;
while (num) {
if (num % 10 == 7) {
cout << "Yes\n";
count = 1;
break;
}
num /= 10;
}
if (!count) {
cout << "NO\n";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int num;
cin >> num;
int count = 0;
while (num) {
if (num % 10 == 7) {
cout << "Yes\n";
count = 1;
break;
}
num /= 10;
}
if (!count) {
cout << "No\n";
}
return 0;
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 74 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
string n;
cin >> n;
bool r = false;
for (char c : n) {
if (c == '7') {
r = true;
break;
}
}
cout << (r ? "YES" : "NO") << "\n";
return 0;
}
// scanf("%d %d", &a, &b)
// printf("... | #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
string n;
cin >> n;
bool r = false;
for (char c : n) {
if (c == '7') {
r = true;
break;
}
}
cout << (r ? "Yes" : "No") << "\n";
return 0;
}
// scanf("%d %d", &a, &b)
// printf("... | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 88 |
function Main(input) { console.log(String(input).includes("7")) }
//*この行以降は編集しないでください(標準入出力から一度に読み込み、Mainを呼び出します)
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
| function Main(input) { console.log(String(input).includes("7") ? 'Yes' : 'No') }
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
| [["+", 0, 1, 0, 2, 3, 3, 0, 510, 0, 101], ["+", 0, 2, 3, 3, 0, 510, 64, 557, 0, 104], ["+", 0, 2, 3, 3, 0, 510, 64, 557, 0, 491], ["+", 0, 1, 0, 2, 3, 3, 0, 510, 0, 102], ["+", 0, 2, 3, 3, 0, 510, 75, 557, 0, 104], ["+", 0, 2, 3, 3, 0, 510, 75, 557, 0, 491]] | 2 | 45 |
s=input()
for e in s:
if e=="7":
print("YES")
break
else:
print("NO") | s=input()
for e in s:
if e=="7":
print("Yes")
break
else:
print("No")
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 32 |
n=input()
n=int(n)
og=n
flag=0
while(n>0):
d=n%10
n=n/10
if(d==7):
flag=flag+1
if(flag>0):
print("Yes")
else:
print("No")
| n=input()
n=int(n)
og=n
flag=0
while(n>0):
d=n%10
n=n//10
if(d==7):
flag=flag+1
if(flag>0):
print("Yes")
else:
print("No")
| [["-", 8, 196, 0, 1, 0, 662, 12, 657, 17, 85], ["+", 8, 196, 0, 1, 0, 662, 12, 657, 17, 676]] | 5 | 67 |
# -*- coding: utf-8 -*-
a = int(input())
if a % 10 == 7 or a // 10 % 10 == 7 or a // 100 % 10 == 7:
print("YES")
else:
print("NO")
| # -*- coding: utf-8 -*-
a = int(input())
if a % 10 == 7 or a // 10 % 10 == 7 or a // 100 % 10 == 7:
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 | 46 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int N, n;
cin >> N;
n = 0;
for (int i = 0; i < 2; i++) {
if (N % 10 == 7) {
n = 1;
}
N = N / 10;
}
if (n == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int N, n;
cin >> N;
n = 0;
for (int i = 0; i < 3; i++) {
if (N % 10 == 7) {
n = 1;
}
N = N / 10;
}
if (n == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 12, 13]] | 1 | 84 |
#include <bits/stdc++.h>
using namespace std;
#define int long long
void solve() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7') {
cout << "<Yes\n";
return;
}
}
cout << "No\n";
}
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(... | #include <bits/stdc++.h>
using namespace std;
#define int long long
void solve() {
string s;
cin >> s;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7') {
cout << "Yes\n";
return;
}
}
cout << "No\n";
}
signed main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(N... | [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 115 |
#pragma GCC optimize("Ofast")
#include <algorithm>
#include <bits/stdc++.h>
#include <cassert>
#include <chrono>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespa... | #pragma GCC optimize("Ofast")
#include <algorithm>
#include <bits/stdc++.h>
#include <cassert>
#include <chrono>
#include <cmath>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iomanip>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <vector>
using namespa... | [["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 38], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 35], ["-", 0, 338, 8, 9, 0, 57, 75, 76, 0, 95], ["-", 8, 9, 0, 57, 75, 76, 0, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 338, 8, 9, 0, 46], ["-", 8, 9, 0, 57, 75, 76, 0, 9, 0, 46], ["-", 0, 14, 8, 9, 0, 338, 8, 9, 0, 46]] | 1 | 1,398 |
s = input()
if s.count('7') > 0:
print('YES')
else:
print('NO') | s = input()
if s.count('7') > 0:
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 | 31 |
N = input()
if 7 in N:
print('Yes')
else:
print('No') | N = input()
if ('7' in N):
print('Yes')
else:
print('No')
| [["+", 36, 36, 0, 656, 0, 57, 15, 23, 0, 24], ["+", 0, 57, 15, 23, 0, 666, 0, 557, 0, 654], ["+", 0, 57, 15, 23, 0, 666, 0, 557, 0, 655], ["+", 36, 36, 0, 656, 0, 57, 15, 23, 0, 25]] | 5 | 24 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int i;
for (i = 0; i < 3; i++) {
if (N % 10 == 7) {
cout << "Yes" << endl;
break;
}
N %= 10;
}
if (i == 3) {
cout << "No" << endl;
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int N;
cin >> N;
int i;
for (i = 0; i < 3; i++) {
if (N % 10 == 7) {
cout << "Yes" << endl;
break;
}
N /= 10;
}
if (i == 3) {
cout << "No" << endl;
}
}
| [["-", 0, 7, 8, 9, 0, 1, 0, 11, 17, 132], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 17, 90]] | 1 | 77 |
#include <bits/stdc++.h>
using namespace std;
#define mem(a, b) memset(a, b, sizeof(a))
#define pii pair<int, int>
#define int long long
const int inf = 0x3f3f3f3f;
const int maxn = 201110;
const int M = 1e9 + 7;
int n, m, k, ok;
signed main() {
cin >> n;
ok = 0;
while (n) {
if (n % 7 == 7) {
ok = 1;
... | #include <bits/stdc++.h>
using namespace std;
#define mem(a, b) memset(a, b, sizeof(a))
#define pii pair<int, int>
#define int long long
const int inf = 0x3f3f3f3f;
const int maxn = 201110;
const int M = 1e9 + 7;
int n, m, k, ok;
signed main() {
cin >> n;
ok = 0;
while (n) {
if (n % 10 == 7) {
ok = 1;
... | [["-", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 31, 16, 12, 13]] | 1 | 109 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
int main() {
ios_base::sync_with_stdio(0), cin.tie(NULL), cout.tie(NULL);
string s;
cin >> s;
bool ok = false;
for (int i = 0; i < s.length(); i++) {
if (s[i] == '7')
ok = true;
}
cout << ((ok) ? "YES" : ... | #include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ld long double
int main() {
ios_base::sync_with_stdio(0), cin.tie(NULL), cout.tie(NULL);
string s;
cin >> s;
bool ok = false;
for (int i = 0; i < s.length(); i++) {
if (s[i] == '7')
ok = true;
}
cout << ((ok) ? "Yes" : ... | [["-", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 31, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 104 |
#include <bits/stdc++.h>
using namespace std;
#define speed \
ios_base::sync_with_stdio(0); \
cin.tie(NULL); \
cout.tie(NULL);
#define ub(a... | #include <bits/stdc++.h>
using namespace std;
#define speed \
ios_base::sync_with_stdio(0); \
cin.tie(NULL); \
cout.tie(NULL);
#define ub(a... | [["-", 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], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["-", 8, 9, 0, 1, 0, 16, 12, 5, 0, 44], ["+", 8, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 134 |
a = input()
a = a.split('7')
if(len(a)==2):
print("Yes")
else:
print("No") | a = input()
a = a.split('7')
if(len(a)>=2):
print("Yes")
else:
print("No")
| [["-", 0, 656, 0, 57, 15, 23, 0, 666, 667, 60], ["+", 0, 656, 0, 57, 15, 23, 0, 666, 667, 20]] | 5 | 39 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ed "\n"
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
char a[1000];
ll p = 0;
cin >> a;
ll n = strlen(a);
for (ll i = 0; i < n; i++) {
if (a[i] = '7') {
p = 1;
break;
}
}
if (p == 1)... | #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define ed "\n"
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
char a[1000];
ll p = 0;
cin >> a;
ll n = strlen(a);
for (ll i = 0; i < n; i++) {
if (a[i] == '7') {
p = 1;
break;
}
}
if (p == 1... | [["-", 8, 9, 0, 57, 15, 339, 51, 11, 17, 32], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60]] | 1 | 120 |
#include <cmath>
#include <cstdio>
#include <ctype.h>
#include <cwchar>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
int a = s[i] - '0';
if (a == 7) {
cout << "YES" << endl;
return 0;
}... | #include <cmath>
#include <cstdio>
#include <ctype.h>
#include <cwchar>
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
for (int i = 0; i < s.length(); i++) {
int a = s[i] - '0';
if (a == 7) {
cout << "Yes" << endl;
return 0;
}... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 93 |
#include <bits/stdc++.h>
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define sz(x) int((x).size())
#define debug(x) cout << #x << ":" << x << ' ';
#define debugg(x) cout << #x << ":" << ... | #include <bits/stdc++.h>
#pragma GCC target("avx2")
#pragma GCC optimization("O3")
#pragma GCC optimization("unroll-loops")
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define sz(x) int((x).size())
#define debug(x) cout << #x << ":" << x << ' ';
#define debugg(x) cout << #x << ":" << ... | [["+", 31, 16, 12, 23, 0, 41, 15, 16, 17, 79], ["+", 12, 23, 0, 41, 15, 16, 12, 343, 345, 348], ["+", 12, 23, 0, 41, 15, 16, 12, 343, 0, 349], ["+", 12, 23, 0, 41, 15, 16, 12, 343, 141, 22]] | 1 | 468 |
/*---> 12 April 2020 <--- > 23:46:45 <---*/
// #pragma GCC optimize("Ofast")
// #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
// #pragma GCC optimize("unroll-loops")
// #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("O3")
//#pragma GCC target ("sse4")
#include <bits/std... | /*---> 12 April 2020 <--- > 23:46:45 <---*/
// #pragma GCC optimize("Ofast")
// #pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx,tune=native")
// #pragma GCC optimize("unroll-loops")
// #pragma comment(linker, "/stack:200000000")
#pragma GCC optimize("O3")
//#pragma GCC target ("sse4")
#include <bits/std... | [["-", 8, 123, 0, 171, 0, 124, 0, 42, 0, 22], ["+", 8, 123, 0, 171, 0, 124, 0, 42, 0, 22], ["-", 0, 171, 0, 124, 0, 42, 0, 5, 0, 6], ["+", 0, 171, 0, 124, 0, 42, 0, 5, 0, 6]] | 1 | 420 |
n = input()
b = 0
for i in n:
if i == '7':
b= 1
break
if b == 1:
print("YES")
else:
print("NO") | n = input()
b = 0
for i in n:
if i == '7':
b= 1
break
if b == 1:
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 | 43 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.