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 |
|---|---|---|---|---|
#include <bits/stdc++.h>
using namespace std;
int main() {
int i, j, k = 0, l, n;
string a;
n = a.length();
for (i = 0; i < n; i++) {
if (a[i] == '7') {
k = 1;
break;
}
}
if (k == 1)
cout << "Yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int i, j, k = 0, l, n;
string a;
cin >> a;
n = a.length();
for (i = 0; i < n; i++) {
if (a[i] == '7') {
k = 1;
break;
}
}
if (k == 1)
cout << "Yes" << endl;
else
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 | 96 |
N=input()
def d(N):
return "Yes" if "7" in N else "No"
print(d(n)) | N=input()
def d(N):
return "Yes" if "7" in N else "No"
print(d(N)) | [["-", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22], ["+", 0, 652, 3, 4, 0, 652, 3, 4, 0, 22]] | 5 | 32 |
N = str(input())
if N in ['7']:
print("Yes")
else:
print("No") | N = str(input())
if '7' in N:
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], ["-", 0, 656, 0, 57, 15, 666, 0, 634, 0, 70], ["-", 0, 656, 0, 57, 15, 666, 0, 634, 0, 73], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 267], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]] | 5 | 31 |
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string N;
cin >> N;
int count = 0;
for (int i = 0; i < N.size(); i++) {
if (atoi(N.substr(i, 1).c_str()) == 7) {
count += 1;
}
}
if (count == 0) {
cout << "NO" << endl;
}... |
#include <algorithm>
#include <iostream>
#include <string>
#include <vector>
using namespace std;
int main() {
string N;
cin >> N;
int count = 0;
for (int i = 0; i < N.size(); i++) {
if (atoi(N.substr(i, 1).c_str()) == 7) {
count += 1;
}
}
if (count == 0) {
cout << "No" << endl;
}... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 106 |
import java.util.Scanner;
public class Main {
public static boolean havedigit7(int number) {
boolean have7 = false;
while (number > 0 && !have7)
if (number % 10 == 7)
have7 = true;
else
number /= 10;
return have7;
}
public static void main(String[] args) {
try (Scanne... | import java.util.Scanner;
public class Main {
public static boolean havedigit7(int number) {
boolean have7 = false;
while (number > 0 && !have7)
if (number % 10 == 7)
have7 = true;
else
number /= 10;
return have7;
}
public static void main(String[] args) {
try (Scanne... | [["+", 0, 1, 0, 492, 3, 4, 0, 510, 0, 101], ["+", 0, 492, 3, 4, 0, 510, 64, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 510, 64, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 510, 0, 102], ["+", 0, 492, 3, 4, 0, 510, 75, 5, 0, 62], ["+", 0, 492, 3, 4, 0, 510, 75, 5, 0, 491]] | 3 | 99 |
#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep_s(i, s, n) for (int i = (int)(s); i < (int)(n); i++)
using ll = long long;
int main() {
int N;
cin >> N;
while (N > 0) {
if (N % 10 == 7) {
cout << "Yes" << endl;
return 0;
}
N ... | #include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep_s(i, s, n) for (int i = (int)(s); i < (int)(n); i++)
using ll = long long;
int main() {
int N;
cin >> N;
while (N > 0) {
if (N % 10 == 7) {
cout << "Yes" << endl;
return 0;
}
N ... | [["-", 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 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;
}
| [["-", 51, 16, 31, 2, 3, 4, 0, 5, 0, 62], ["+", 51, 16, 31, 2, 3, 4, 0, 103, 0, 104], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 17, 60], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 17, 79]] | 1 | 78 |
n=int(input())
a=set()
while n!=0 :
rem=n%10
a.add(rem)
n/=10
if 7 in a :
print("Yes")
else :
print("No") | n=int(input())
a=set()
while n!=0 :
rem=n%10
a.add(rem)
n//=10
if 7 in a :
print("Yes")
else :
print("No") | [["-", 0, 52, 8, 196, 0, 1, 0, 677, 17, 90], ["+", 0, 52, 8, 196, 0, 1, 0, 677, 17, 691]] | 5 | 51 |
package main
import (
"fmt"
"strings"
)
func main() {
var n string
fmt.Scan(&n)
var contain bool = strings.Contains(n, "7")
fmt.Println(map[bool]string{true: "yes", false: "no"}[contain])
}
| package main
import (
"fmt"
"strings"
)
func main() {
var n string
fmt.Scan(&n)
var contain bool = strings.Contains(n, "7")
fmt.Println(map[bool]string{true: "Yes", false: "No"}[contain])
}
| [] | 7 | 76 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n[0] != 7 && n[1] != 7 && n[2] != 7)
cout << "Yes";
else {
cout << "No";
}
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string n;
cin >> n;
if (n[0] != '7' && n[1] != '7' && n[2] != '7')
cout << "No";
else {
cout << "Yes";
}
}
| [["+", 51, 16, 31, 16, 31, 16, 12, 103, 0, 104], ["+", 51, 16, 31, 16, 12, 16, 12, 103, 0, 104], ["+", 15, 339, 51, 16, 12, 16, 12, 103, 0, 104], ["-", 0, 57, 64, 1, 0, 16, 12, 5, 0, 6], ["+", 0, 57, 64, 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 | 57 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
for (int i = 0; i < (int)s.size(); i++)
if (s[i] == '7')
cout << "YES", exit(0);
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
cout.tie(0);
string s;
cin >> s;
for (int i = 0; i < (int)s.size(); i++)
if (s[i] == '7')
cout << "Yes", exit(0);
cout << "No";
return 0;
} | [["-", 64, 1, 0, 34, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 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 | 92 |
//
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ar array
#define vec vector
void solve() {
int n;
cin >> n;
while (n != 0) {
int pop = n % 10;
if (pop == 7) {
cout << "YES" << endl;
return;
}
n /= 10;
}
cout << "NO" << endl;
}
int main() { solve(); }... | //
#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ar array
#define vec vector
void solve() {
int n;
cin >> n;
while (n != 0) {
int pop = n % 10;
if (pop == 7) {
cout << "Yes" << endl;
return;
}
n /= 10;
}
cout << "No" << endl;
}
int main() { solve(); }... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 84 |
N = input()
flag = False
for char in N:
if char == '7':
print('Yes')
flag = True
if flag == False:
print('No') | N = input()
flag = False
for char in N:
if char == '7':
print('Yes')
flag = True
break
if flag == False:
print('No') | [["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 5 | 40 |
a=input()
ans='No'
for i in a:
if i==7:
ans='Yes'
print(ans) | a=input()
ans='No'
for i in a:
if i=='7':
ans='Yes'
break
print(ans) | [["+", 8, 196, 0, 57, 15, 666, 0, 557, 0, 654], ["+", 8, 196, 0, 57, 15, 666, 0, 557, 0, 655], ["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 5 | 29 |
n = input()
for ni in n:
if ni == '7':
print('YES')
quit()
print('NO')
| n = input()
for ni in n:
if ni == '7':
print('Yes')
quit()
print('No')
| [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 32 |
#A
n = input()
if n.count("7") == True:
print("Yes")
else:
print("No") | #A
n = input()
if n.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 | 32 |
n=str(N)
if n.find("7")!= -1:
print("Yes")
else:
print("No")
| n=str(input())
if n.find("7")!= -1:
print("Yes")
else:
print("No") | [["-", 0, 1, 0, 662, 12, 652, 3, 4, 0, 22], ["+", 0, 662, 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]] | 5 | 33 |
if '7' in list(input()):
print('yes')
else:
print('No') | if '7' in list(input()):
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 | 26 |
#include <algorithm>
#include <iostream>
#include <string>
int main() {
std::string s;
std::cin >> s;
for (const auto &e : s) {
if (e == '7') {
std::cout << "YES" << std::endl;
return 0;
}
}
std::cout << "NO" << std::endl;
return 0;
}
| #include <algorithm>
#include <iostream>
#include <string>
int main() {
std::string s;
std::cin >> s;
for (const auto &e : s) {
if (e == '7') {
std::cout << "Yes" << std::endl;
return 0;
}
}
std::cout << "No" << std::endl;
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 74 |
n=input()
n=str(n)
t='nd'
for i in n:
if i=='7':
print('Yes')
t='d'
if t=='nd':print('No')
| n=input()
n=str(n)
t='nd'
for i in n:
if i=='7':
print('Yes')
t='d'
break
if t=='nd':print('No')
| [["+", 8, 196, 0, 57, 64, 196, 0, 93, 0, 94]] | 5 | 52 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string ans = "No";
int n;
cin >> n;
while (n != 0) {
if ((n - 7) % 10 == 0)
ans = "Yes";
break;
n = n / 10;
}
cout << ans << "\n";
return 0;
}
| #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
string ans = "No";
int n;
cin >> n;
while (n != 0) {
if ((n - 7) % 10 == 0) {
ans = "Yes";
break;
}
n = n / 10;
}
cout << ans << "\n";
return 0;
}
| [["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 52, 8, 9, 0, 57, 64, 9, 0, 46]] | 1 | 73 |
#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
for (int i = 0; i < 3; i++) {
if (N % 10 == 7) {
cout << "Yes";
return 0;
} else {
N / 10;
}
}
cout << "No";
return 0;
}
|
#include <iostream>
using namespace std;
int main() {
int N;
cin >> N;
for (int i = 0; i < 3; i++) {
if (N % 10 == 7) {
cout << "Yes";
return 0;
} else {
N = N / 10;
}
}
cout << "No";
return 0;
}
| [["+", 75, 76, 0, 9, 0, 1, 0, 11, 17, 32], ["+", 0, 9, 0, 1, 0, 11, 12, 16, 31, 22]] | 1 | 70 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
const int INF = INT_MAX - 1;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int n;
cin >> n;
bool ok = 0;
while (n > 0 && !ok) {
ok = (n % 10) == 7;
n /= 10;
}
if (ok)
... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef vector<int> vi;
typedef pair<int, int> pi;
const int INF = INT_MAX - 1;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
int n;
cin >> n;
bool ok = 0;
while (n > 0 && !ok) {
ok = (n % 10) == 7;
n /= 10;
}
if (ok)
... | [["-", 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 | 114 |
N=int(input())
a=str(N)
if 'a' in '7':
print("Yes")
else:
print("No")
| N=int(input())
a=str(N)
if '7' in a:
print("Yes")
else:
print("No")
| [["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 6], ["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 655], ["-", 36, 36, 0, 656, 0, 57, 15, 666, 667, 267], ["-", 0, 656, 0, 57, 15, 666, 0, 557, 0, 654], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 667, 267], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]] | 5 | 37 |
l = list(input())
if 7 in l:
print('Yes')
else:
print('No') | l = list(input())
if '7' in l:
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 | 27 |
l = list(input())
if 7 in l:
print('Yes')
else:
print('No') | l = list(str(input()))
if '7' in l:
print('Yes')
else:
print('No')
| [["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["+", 0, 656, 0, 57, 15, 666, 0, 557, 0, 654], ["+", 0, 656, 0, 57, 15, 666, 0, 557, 0, 655]] | 5 | 27 |
n = int(input())
n = str(n)
flag = 0
for i in n:
if(i != '7'):
flag = 0
else:
flag = 1
if flag == 0:
print('No')
else :
print('Yes')
| n = int(input())
n = str(n)
flag = 0
for i in n:
if(i != '7'):
flag = 0
else:
flag = 1
break
if flag == 0:
print('No')
else :
print('Yes') | [["+", 0, 57, 75, 76, 8, 196, 0, 93, 0, 94]] | 5 | 58 |
/*dismint|jjc*/
#include <bits/stdc++.h>
using namespace std;
#define io(F) \
string t_ = ""; \
ifstream fin(t_ + F + ".in"); \
ofstreamfout... | /*dismint|jjc*/
#include <bits/stdc++.h>
using namespace std;
#define io(F) \
string t_ = ""; \
ifstream fin(t_ + F + ".in"); \
ofstreamfout... | [["-", 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 | 118 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n, a, f = 0;
cin >> n;
while (n != 0) {
a = n % 10;
if (n == 7) {
f = 1;
break;
}
n = n / 10;
}
if (f)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
int n, a, f = 0;
cin >> n;
while (n != 0) {
a = n % 10;
if (a == 7) {
f = 1;
break;
}
n = n / 10;
}
if (f)
cout << "Yes" << endl;
else
cout << "No" << endl;
} | [["-", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 31, 22]] | 1 | 80 |
#include <bits/stdc++.h>
#include <iostream>
using namespace std;
main() {
int t, n, i, j, k, x, y, z, p, q, r, count = 0, flag = 0;
cin >> n;
while (n > 0) {
r = n % 10;
if (r == 7) {
flag = 1;
break;
}
n = n / 10;
}
if (flag == 1)
cout << "YES";
else
cout << "NO";
re... | #include <bits/stdc++.h>
#include <iostream>
using namespace std;
int main() {
int t, n, i, j, k, x, y, z, p, q, r, count = 0, flag = 0;
cin >> n;
while (n > 0) {
r = n % 10;
if (r == 7) {
flag = 1;
break;
}
n = n / 10;
}
if (flag == 1)
cout << "Yes";
else
cout << "No";
... | [["+", 36, 36, 36, 36, 0, 30, 0, 14, 39, 40], ["-", 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 | 104 |
N = str(input())
b = "No"
if "7" in N:
b = "yes"
print(b) | N = str(input())
b = "No"
if "7" in N:
b = "Yes"
print(b)
| [["-", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6], ["+", 64, 196, 0, 1, 0, 662, 12, 557, 0, 6]] | 5 | 29 |
#include "bits/stdc++.h"
using namespace std;
typedef long long ll;
string s;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cin >> s;
for (char i : s) {
if (i == '7') {
cout << "YES" << endl;
return 0;
}
}
cout << "NO" << endl;
}
| #include "bits/stdc++.h"
using namespace std;
typedef long long ll;
string s;
int main() {
ios::sync_with_stdio(false);
cin.tie(0);
cin >> s;
for (char i : s) {
if (i == '7') {
cout << "Yes" << endl;
return 0;
}
}
cout << "No" << endl;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 78 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double lxd;
typedef vector<ll> vll;
#define INF 1e10;
#define mem(dp, a) memset(dp, a, sizeof dp)
#define fast \
ios_base::sync_with_stdio(false); ... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double lxd;
typedef vector<ll> vll;
#define INF 1e10;
#define mem(dp, a) memset(dp, a, sizeof dp)
#define fast \
ios_base::sync_with_stdio(false); ... | [["-", 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 | 172 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String target = scanner.nextLine();
boolean flag = false;
for (int i = 0; i < target.length(); i++) {
if (target.charAt(i) == '7') {
flag = true;
Sys... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
String target = scanner.nextLine();
boolean flag = false;
for (int i = 0; i < target.length(); i++) {
if (target.charAt(i) == '7') {
flag = true;
Sys... | [["-", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 117 |
N=int(input())
if N.count(7)>0:
print('Yes')
else:
print('No') | N=input()
if N.count('7')>0:
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, 25], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 32 |
N=int(input())
if N.count(7)>0:
print('Yes')
else:
print('No') | N=str(input())
if N.count('7')>0:
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], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 32 |
import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if (("" + N).contains("7"))
System.out.println("No");
else
System.out.println("Yes");
}
} | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
if (("" + N).contains("7"))
System.out.println("Yes");
else
System.out.println("No");
}
} | [["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 82 |
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
// typedef __int64 LL;
typedef vector<int> ivec;
typedef vector<string> svec;
// int a[100010];
int m... | #include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <stack>
#include <string>
#include <vector>
using namespace std;
// typedef __int64 LL;
typedef vector<int> ivec;
typedef vector<string> svec;
// int a[100010];
int m... | [["-", 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 | 87 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> ii;
typedef pair<string, ll> si;
typedef pair<ii, ll> iii;
typedef vector<ll> vi;
typedef vector<ii> vii;
typedef vector<iii> viii;
#define sort(a) sort(a.begin(), a.end());
#define pb push_back
#define pf p... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> ii;
typedef pair<string, ll> si;
typedef pair<ii, ll> iii;
typedef vector<ll> vi;
typedef vector<ii> vii;
typedef vector<iii> viii;
#define sort(a) sort(a.begin(), a.end());
#define pb push_back
#define pf p... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 175 |
#include <algorithm>
#include <cmath>
#include <iostream>
#include <list>
#include <map>
#include <set>
#include <utility>
#include <vector>
using namespace std;
int main() {
string s;
cin >> s;
int i = s.length(), j = 0;
for (char x : s) {
if (x == '7') {
cout << "Yes" << endl;
} else {
j... | #include <algorithm>
#include <cmath>
#include <iostream>
#include <list>
#include <map>
#include <set>
#include <utility>
#include <vector>
using namespace std;
int main() {
string s;
cin >> s;
int i = s.length(), j = 0;
for (char x : s) {
if (x == '7') {
cout << "Yes" << endl;
break;
} e... | [["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 35]] | 1 | 100 |
#include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main() {
cin.tie(NULL);
ios_base::sync_with_stdio(false);
string s;
cin >> s;
int n = s.size();
bool f = false;
for (int i = 0; i < n; i++) {
if (s[i] == '7')
f = true;
}
if (f)
c... | #include <algorithm>
#include <bits/stdc++.h>
#include <iostream>
#include <vector>
using namespace std;
int main() {
cin.tie(NULL);
ios_base::sync_with_stdio(false);
string s;
cin >> s;
int n = s.size();
bool f = false;
for (int i = 0; i < n; i++) {
if (s[i] == '7')
f = true;
}
if (f)
c... | [["-", 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 | 101 |
n = int(input())
isOK = False
for i in range(3):
first_digit_num = n % 10
if(first_digit_num == 7):
isOK = True
n /= 10
print("Yes" if isOK else "No")
| n = int(input())
isOK = False
for i in range(3):
first_digit_num = n % 10
if(first_digit_num == 7):
isOK = True
n //= 10
print("Yes" if isOK else "No") | [["-", 0, 7, 8, 196, 0, 1, 0, 677, 17, 90], ["+", 0, 7, 8, 196, 0, 1, 0, 677, 17, 691]] | 5 | 49 |
#include <stdio.h>
int main(void) {
int num;
if (scanf("%d", &num)) {
if ((num + 3) % 10 == 0 || (num + 30) % 100 == 0 ||
(num + 300) % 1000 == 0) {
printf("Yes");
} else {
printf("No");
}
}
return 0;
} | #include <stdio.h>
int main(void) {
int num;
if (scanf("%d", &num)) {
if ((num + 3) % 10 == 0 || (num + 30) % 100 == num % 10 ||
(num + 300) % 1000 == num % 100) {
printf("Yes");
} else {
printf("No");
}
}
return 0;
} | [["-", 15, 23, 0, 16, 31, 16, 12, 16, 12, 13], ["+", 0, 16, 31, 16, 12, 16, 12, 16, 31, 22], ["+", 0, 16, 31, 16, 12, 16, 12, 16, 17, 109], ["+", 0, 16, 31, 16, 12, 16, 12, 16, 12, 13], ["-", 0, 57, 15, 23, 0, 16, 12, 16, 12, 13], ["+", 15, 23, 0, 16, 12, 16, 12, 16, 31, 22], ["+", 15, 23, 0, 16, 12, 16, 12, 16, 17, 10... | 0 | 80 |
N = input()
n = [int(c) for c in s]
for ni in n:
if ni == 7:
print("Yes")
exit()
print("No")
| N = input()
n = [int(c) for c in N]
for ni in n:
if ni == 7:
print("Yes")
exit()
print("No")
| [["-", 0, 1, 0, 662, 12, 658, 0, 659, 12, 22], ["+", 0, 1, 0, 662, 12, 658, 0, 659, 12, 22]] | 5 | 42 |
#include <bits/stdc++.h>
using namespace std;
int main() {
long long int t;
t = 1;
// cin>>t;
while (t--) {
int n;
cin >> n;
int a, b, c;
a = n % 10;
n = n / 10;
b = n % 10;
n = n / 10;
c = n % 10;
if (a == 7 || b == 7 || c == 7)
cout << "YES";
else
cout << ... | #include <bits/stdc++.h>
using namespace std;
int main() {
long long int t;
t = 1;
// cin>>t;
while (t--) {
int n;
cin >> n;
int a, b, c;
a = n % 10;
n = n / 10;
b = n % 10;
n = n / 10;
c = n % 10;
if (a == 7 || b == 7 || c == 7)
cout << "Yes";
else
cout << ... | [["-", 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 | 100 |
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(NULL);
cout.tie(NULL);
ll n;
cin >> n;
ll c = 0;
while (n != 0) {
if (n % 10 == 7) {
c++;
break;
}
n /= 10;
}
if (c == 0)
cout << "... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef long double ld;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(NULL);
cout.tie(NULL);
ll n;
cin >> n;
ll c = 0;
while (n != 0) {
if (n % 10 == 7) {
c++;
break;
}
n /= 10;
}
if (c == 0)
cout << "... | [["-", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 75, 76, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 104 |
#include <bits/stdc++.h>
using namespace std;
int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < 3; ++i) {
if (n % 10 == 7) {
printf("YES\n");
return 0;
}
n = n / 10;
}
printf("NO\n");
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
int n;
scanf("%d", &n);
for (int i = 0; i < 3; ++i) {
if (n % 10 == 7) {
printf("Yes\n");
return 0;
}
n = n / 10;
}
printf("No\n");
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 1 | 79 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String x = input.nextLine();
boolean lucky = true;
for (int i = 0; i < x.length(); i++) {
if (x.charAt(i) == '7') {
lucky = false;
break;
}
}
S... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String x = input.nextLine();
boolean lucky = false;
for (int i = 0; i < x.length(); i++) {
if (x.charAt(i) == '7') {
lucky = true;
break;
}
}
S... | [["-", 0, 195, 8, 196, 0, 503, 49, 200, 51, 146], ["+", 0, 195, 8, 196, 0, 503, 49, 200, 51, 147], ["-", 0, 57, 64, 196, 0, 1, 0, 11, 12, 147], ["+", 0, 57, 64, 196, 0, 1, 0, 11, 12, 146]] | 3 | 105 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String x = input.nextLine();
boolean lucky = true;
for (int i = 0; i < x.length(); i++) {
if (x.charAt(i) == '7') {
lucky = false;
break;
}
}
i... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner input = new Scanner(System.in);
String x = input.nextLine();
boolean lucky = true;
for (int i = 0; i < x.length(); i++) {
if (x.charAt(i) == '7') {
lucky = false;
break;
}
}
i... | [["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 115 |
#include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
void eslam()
{
ios_base::sync_with_stdio;
cin.tie(0);
cout.tie(0);
}
int main()
{
eslam();
string x;
cin >> x;
bool b = false;
for (int i = 0; i... | #include <algorithm>
#include <cmath>
#include <iomanip>
#include <iostream>
#include <string>
#include <utility>
#include <vector>
using namespace std;
void eslam()
{
ios_base::sync_with_stdio;
cin.tie(0);
cout.tie(0);
}
int main()
{
eslam();
string x;
cin >> x;
bool b = false;
for (int i = 0; i... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["-", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 64, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 125 |
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef vector<int> vi;
typedef set<int> si;
typedef vector<ll> vll;
#define pvec(v) \
for (auto e : v) \
cout << e <... | #include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef vector<int> vi;
typedef set<int> si;
typedef vector<ll> vll;
#define pvec(v) \
for (auto e : v) \
cout << e <... | [["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 35]] | 1 | 127 |
package main
import (
"fmt"
)
func main() {
var str string
_, _ = fmt.Scan(&str)
if IsSevenExistingIn(str){
fmt.Println("YES")
}else {
fmt.Println("NO")
}
}
func IsSevenExistingIn(str string) bool{
for i := 0; i < len(str); i++{
if str[i] == '7'{
return true
}
}
return false
}
| package main
import (
"fmt"
)
func main() {
var str string
_, _ = fmt.Scan(&str)
if IsSevenExistingIn(str) {
fmt.Println("Yes")
} else {
fmt.Println("No")
}
}
func IsSevenExistingIn(str string) bool{
for i := 0; i < len(str); i++{
if str[i] == '7'{
return true
}
}
return false
}
| [] | 7 | 106 |
N = int(input())
listN = sorted(N)
if listN.count(7) >= 1:
print("Yes")
else:
print("No")
| N = int(input())
listN = sorted(str(N))
if listN.count("7") >= 1:
print("Yes")
else:
print("No")
| [["+", 0, 662, 12, 652, 3, 4, 0, 652, 63, 22], ["+", 12, 652, 3, 4, 0, 652, 3, 4, 0, 24], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 654], ["+", 15, 666, 0, 652, 3, 4, 0, 557, 0, 655]] | 5 | 38 |
a = input()
if '7' in a:
print('yes')
else:
print('no') | a = input()
if '7' in a:
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 | 26 |
print('yes' if '7' in input() else 'No') | print('Yes' if '7' in input() else 'No') | [["-", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6], ["+", 0, 652, 3, 4, 0, 41, 0, 557, 0, 6]] | 5 | 18 |
import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
N = str(sys.stdin.read())
flag = False
for s in N:
print(s)
if s == '7':
flag = True
if flag:
print('Yes')
else:
print('No')
| import sys
read = sys.stdin.buffer.read
readline = sys.stdin.buffer.readline
readlines = sys.stdin.buffer.readlines
N = str(sys.stdin.read())
flag = False
for s in N:
if s == '7':
flag = True
if flag:
print('Yes')
else:
print('No')
| [["-", 0, 7, 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 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
cout << ((str.find('7') != string::npos) ? ("YES") : ("NO")) << endl;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string str;
cin >> str;
cout << ((str.find('7') != string::npos) ? ("Yes") : ("No")) << endl;
} | [["-", 12, 23, 0, 41, 64, 23, 0, 5, 0, 6], ["+", 12, 23, 0, 41, 64, 23, 0, 5, 0, 6], ["-", 12, 23, 0, 41, 75, 23, 0, 5, 0, 6], ["+", 12, 23, 0, 41, 75, 23, 0, 5, 0, 6]] | 1 | 52 |
#include <bits/stdc++.h>
using namespace std;
static int fast_io = []() {
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}();
int main() {
string input;
cin >> input;
for (auto c : input) {
if (c == '7') {
cout << "YES"
<< "\n";
return 0;
}
}
cout << "NO"
... | #include <bits/stdc++.h>
using namespace std;
static int fast_io = []() {
std::ios::sync_with_stdio(false);
cin.tie(nullptr);
return 0;
}();
int main() {
string input;
cin >> input;
for (auto c : input) {
if (c == '7') {
cout << "Yes"
<< "\n";
return 0;
}
}
cout << "No"
... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 96 |
#include <iostream>
using namespace std;
int main() {
char s[4];
cin >> s;
if (s[0] == '7' || s[1] == '7' || s[2] == '7' || s[3] == '7') {
cout << "YES";
} else {
cout << "No";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
char s[4];
cin >> s;
if (s[0] == '7' || s[1] == '7' || s[2] == '7' || s[3] == '7') {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6]] | 1 | 80 |
/*
* Created on: 23 / 4 / 2020
* Author: Eslam Waheed
*/
#include <bits/stdc++.h>
//#include <bits/BIGINT.h>
using namespace std;
#define _CRT_SECURE_NO_WARNINGS
#define __USE_MINGW_ANSI_STDIO
#define Eslam__Waheed \
ios_base::sync_with_stdio(false); ... | /*
* Created on: 23 / 4 / 2020
* Author: Eslam Waheed
*/
#include <bits/stdc++.h>
//#include <bits/BIGINT.h>
using namespace std;
#define _CRT_SECURE_NO_WARNINGS
#define __USE_MINGW_ANSI_STDIO
#define Eslam__Waheed \
ios_base::sync_with_stdio(false); ... | [["-", 0, 57, 15, 339, 51, 16, 12, 16, 17, 47], ["-", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 17, 20], ["+", 0, 57, 15, 339, 51, 16, 12, 16, 12, 13]] | 1 | 194 |
#include <bits/stdc++.h>
using namespace std;
int main() {
/* code */
string N;
cin >> N;
string res;
for (int i = 0; i < 3; i++) {
if (N[i] == 7)
res = "Yes";
}
cout << res << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
/* code */
string N;
cin >> N;
string res = "No";
for (int i = 0; i < 3; i++) {
if (N[i] == '7')
res = "Yes";
}
cout << res << 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], ["+", 0, 57, 15, 339, 51, 16, 12, 103, 0, 104]] | 1 | 63 |
l = list(map(int, input()))
if 7 in list:
print("Yes")
else:
print("No")
| l = list(map(int, input()))
if 7 in l:
print("Yes")
else:
print("No") | [["-", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22], ["+", 36, 36, 0, 656, 0, 57, 15, 666, 0, 22]] | 5 | 32 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
bool ok = 0;
while (n) {
if (n % 10 == 7)
ok = 1;
n /= 10;
}
cout << (ok == 1 ? "YES" : "NO");
}
| #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
bool ok = 0;
while (n) {
if (n % 10 == 7)
ok = 1;
n /= 10;
}
cout << (ok == 1 ? "Yes" : "No");
}
| [["-", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 64, 5, 0, 6], ["-", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6], ["+", 0, 16, 12, 23, 0, 41, 75, 5, 0, 6]] | 1 | 62 |
#include <iostream>
using namespace std;
int main() {
int n, ok = 0;
cin >> n;
while (n > 0) {
if (n % 10 == 7) {
ok = 1;
}
n = n / 10;
}
if (ok == 1) {
cout << "yes";
} else {
cout << "no";
}
return 0;
}
| #include <iostream>
using namespace std;
int main() {
int n, ok = 0;
cin >> n;
while (n > 0) {
if (n % 10 == 7) {
ok = 1;
}
n = n / 10;
}
if (ok == 1) {
cout << "Yes";
} else {
cout << "No";
}
return 0;
}
| [["-", 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 | 77 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
int count = 0;
cin >> s;
for (int i = 0; i < s.length(); i++) {
if (s[i] == '7') {
count++;
}
}
if (count == 0) {
cout << "NO" << endl;
} else {
cout << "YES" << endl;
}
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
int count = 0;
cin >> s;
for (int i = 0; i < s.length(); i++) {
if (s[i] == '7') {
count++;
}
}
if (count == 0) {
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 | 92 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int m = 0;
for (int i = 0; i < 2; i++) {
if ((N % 10) != 7) {
N = (N - (N % 10)) / 10;
m++;
} else {
System.out.println("Yes")... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int N = sc.nextInt();
int m = 0;
for (int i = 0; i < 3; i++) {
if ((N % 10) != 7) {
N = (N - (N % 10)) / 10;
m++;
} else {
System.out.println("Yes")... | [["-", 0, 195, 8, 196, 0, 7, 15, 16, 12, 499], ["+", 0, 195, 8, 196, 0, 7, 15, 16, 12, 499]] | 3 | 129 |
#include <iostream>
using namespace std;
int main() {
string N;
cin >> N;
bool r = false;
for (int i = 0; i < N.size(); i++) {
if (N[i] == '7') {
r = true;
break;
}
}
if (r)
cout << "yes" << endl;
else
cout << "No" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
string N;
cin >> N;
bool r = false;
for (int i = 0; i < N.size(); i++) {
if (N[i] == '7') {
r = true;
break;
}
}
if (r)
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]] | 1 | 87 |
#include <math.h>
#include <stdint.h>
#include <stdio.h>
int main(void) {
int N;
scanf("%i", &N);
if (N % 10 == 7 || N / 10 % 10 == 7 || N / 10 % 10 == 7) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | #include <math.h>
#include <stdint.h>
#include <stdio.h>
int main(void) {
int N;
scanf("%i", &N);
if (N % 10 == 7 || N / 10 % 10 == 7 || N / 100 % 10 == 7) {
printf("Yes\n");
} else {
printf("No\n");
}
return 0;
} | [["-", 0, 16, 12, 16, 31, 16, 31, 16, 12, 13], ["+", 0, 16, 12, 16, 31, 16, 31, 16, 12, 13]] | 0 | 74 |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int h = scanner.nextInt();
String s = String.valueOf(h);
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) == '7') {
System.out.println(true);
ret... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int h = scanner.nextInt();
String s = String.valueOf(h);
for (int i = 0; i < s.length(); i++) {
if (s.charAt(i) == '7') {
System.out.println("Yes");
re... | [["-", 64, 196, 0, 1, 0, 492, 3, 4, 0, 146], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 62], ["+", 0, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 8, 196, 0, 1, 0, 492, 3, 4, 0, 147]] | 3 | 107 |
'use strict';
function main(input) {
input = input.split("\n");
const a = parseInt(input[0], 10);
if (a.match(/7/)) {
console.log('Yes');
} else {
console.log('No');
}
}
main(require("fs").readFileSync("/dev/stdin", "utf8")); | 'use strict';
function main(input) {
input = input.split("\n");
const a = input[0];
if (a.match(/7/)) {
console.log('Yes');
} else {
console.log('No');
}
}
main(require("fs").readFileSync("/dev/stdin", "utf8")); | [["-", 8, 556, 0, 570, 0, 200, 51, 2, 63, 22], ["-", 0, 570, 0, 200, 51, 2, 3, 3, 0, 24], ["-", 0, 570, 0, 200, 51, 2, 3, 3, 0, 21], ["-", 0, 570, 0, 200, 51, 2, 3, 3, 0, 555], ["-", 0, 570, 0, 200, 51, 2, 3, 3, 0, 25]] | 2 | 90 |
#include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
std::string str;
int num;
int a;
cin >> num;
str = to_string(num);
a = str.find("0");
if (a < 7)
cout << "No\n";
else
cout << "Yes\n";
return 0;
} | #include <iostream>
#include <stdio.h>
#include <string>
using namespace std;
int main() {
std::string str;
int num;
int a;
cin >> num;
str = to_string(num);
a = str.find("7");
if (a < 0)
cout << "No\n";
else
cout << "Yes\n";
return 0;
} | [["-", 0, 11, 12, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 11, 12, 2, 3, 4, 0, 5, 0, 6], ["-", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13], ["+", 8, 9, 0, 57, 15, 339, 51, 16, 12, 13]] | 1 | 73 |
#include <bits/stdc++.h>
#include <cmath>
using namespace std;
int main() {
int n;
cin >> n;
while (n) {
if (n % 10 == 7) {
cout << "YES";
return 0;
}
n = n / 10;
}
cout << "NO";
} | #include <bits/stdc++.h>
#include <cmath>
using namespace std;
int main() {
int n;
cin >> n;
while (n) {
if (n % 10 == 7) {
cout << "Yes";
return 0;
}
n = 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 | 58 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int flag = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7')
flag = 1;
}
if (flag)
cout << "YES";
else
cout << "NO";
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
string s;
cin >> s;
int flag = 0;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7')
flag = 1;
}
if (flag)
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 | 79 |
N=str(input())
for i in range(len(N)):
if N[i]=='7':
print("YES")
break
if i==len(N)-1:
print("NO") | N=str(input())
for i in range(len(N)):
if N[i]=='7':
print("Yes")
break
if i==len(N)-1:
print("No") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 52 |
#include <stdio.h>
int main(void) {
int N, i = 0;
scanf("%d", &N);
if ((N % 1000 - N % 100) / 100 == 7) {
i = 1;
} else if ((N % 100 - N % 10) / 10 == 7) {
i = 1;
} else if (N % 10 == 7) {
i = 1;
}
if (i == 0) {
printf("Yes");
} else {
printf("No");
}
return 0;
} | #include <stdio.h>
int main(void) {
int N, i = 0;
scanf("%d", &N);
if ((N % 1000 - N % 100) / 100 == 7) {
i = 1;
} else if ((N % 100 - N % 10) / 10 == 7) {
i = 1;
} else if (N % 10 == 7) {
i = 1;
}
if (i == 0) {
printf("No");
} else {
printf("Yes");
}
return 0;
}
| [["-", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6], ["+", 0, 1, 0, 2, 3, 4, 0, 5, 0, 6]] | 0 | 114 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;
if (t % 10 == 7 || (t / 10) % 10 == 7 || (t / 100) % 10 == 7)
cout << "YES";
else
cout << "NO";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
ios_base::sync_with_stdio(false);
cin.tie(NULL);
int t;
cin >> t;
if (t % 10 == 7 || (t / 10) % 10 == 7 || (t / 100) % 10 == 7)
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 <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n'
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define repA(i, a, n) for (ll i = a; i <= (n); ++i)
#define repD(i, a, n) for (ll i = a; i >= (n); --i)
#define trav(a, x) for (auto &a : x)
#define all(x) x.begin(), x.end()
#define sz(x... | #include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define endl '\n'
#define rep(i, n) for (ll i = 0; i < (n); ++i)
#define repA(i, a, n) for (ll i = a; i <= (n); ++i)
#define repD(i, a, n) for (ll i = a; i >= (n); --i)
#define trav(a, x) for (auto &a : x)
#define all(x) x.begin(), x.end()
#define sz(x... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 236 |
#include <bits/stdc++.h>
using namespace std;
int n;
bool answer = false;
int main() {
cin >> n;
int r;
while (n > 10) {
r = n % 10;
n /= 10;
/* cout << "r: " << r << endl; */
if (r == 7) {
cout << "Yes\n";
answer = true;
break;
}
}
if (n == 7)
if (!answer)
... | #include <bits/stdc++.h>
using namespace std;
int n;
bool answer = false;
int main() {
cin >> n;
int r;
while (n > 10) {
r = n % 10;
n /= 10;
if (r == 7) {
cout << "Yes\n";
answer = true;
break;
}
}
if (n == 7) {
if (!answer)
cout << "Yes\n";
}
else {
... | [["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 45], ["+", 0, 14, 8, 9, 0, 57, 64, 9, 0, 46]] | 1 | 103 |
param = input()
ret = None
if param in '7':
ret = 'Yes'
else:
ret = 'No'
print(f'{ret}') | param = input()
ret = None
if '7' in param:
ret = 'Yes'
else:
ret = 'No'
print(f'{ret}') | [["-", 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 | 35 |
/*786*/
#include <bits/stdc++.h>
#define pu \
ios_base::sync_with_stdio(); \
cin.tie(NULL); \
cout.tie(NULL);
#define ll long long
#de... | /*786*/
#include <bits/stdc++.h>
#define pu \
ios_base::sync_with_stdio(); \
cin.tie(NULL); \
cout.tie(NULL);
#define ll long long
#de... | [["-", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59], ["+", 36, 36, 36, 36, 0, 30, 0, 58, 51, 59]] | 1 | 114 |
import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int number = sc.nextInt();
boolean flag = true;
while (number != 0) {
if ((number % 10) == 7) {
flag = false;
}
number = number / 10;
}
if (flag ==... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int number = sc.nextInt();
boolean flag = true;
while (number != 0) {
if ((number % 10) == 7) {
flag = false;
}
number = number / 10;
}
if (flag ==... | [["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 113 |
#include <bits/stdc++.h>
using namespace std;
int main() {
char c;
while (cin >> c)
if (c == '7')
return cout << "YES" << '\n', 0;
cout << "NO" << '\n';
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
char c;
while (cin >> c)
if (c == '7')
return cout << "Yes" << '\n', 0;
cout << "No" << '\n';
return 0;
}
| [["-", 0, 34, 31, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 34, 31, 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 | 55 |
#include <bits/stdc++.h>
using namespace std;
int main() {
// ここにプログラムを記入
string S;
cin >> S;
if (S.find("7") != string::npos)
cout << "yes" << endl;
else
cout << "No" << endl;
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
// ここにプログラムを記入
string S;
cin >> S;
if (S.find("7") != string::npos)
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], ["+", 8, 9, 0, 57, 75, 76, 0, 1, 0, 35], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 38], ["+", 0, 30, 0, 14, 8, 9, 0, 37, 0, 13]] | 1 | 52 |
a = str(input())
ans = 'yes'if any([i=='7' for i in a]) else 'no'
print(ans) | a = str(input())
ans = 'Yes' if any([i=='7' for i in a]) else 'No'
print(ans) | [["-", 0, 1, 0, 662, 12, 41, 0, 557, 0, 6], ["+", 0, 1, 0, 662, 12, 41, 0, 557, 0, 6]] | 5 | 36 |
#include <bits/stdc++.h>
int main(void) {
int n;
std::cin >> n;
bool flag = false;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
flag = true;
break;
}
}
if (flag) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | #include <bits/stdc++.h>
int main(void) {
int n;
std::cin >> n;
bool flag = false;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
flag = true;
break;
}
n = n / 10;
}
if (flag) {
std::cout << "Yes" << std::endl;
} else {
std::cout << "No" << std::endl;
}
return 0;
} | [["+", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 17, 32], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 31, 22], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 17, 85], ["+", 8, 9, 0, 1, 0, 11, 12, 16, 12, 13], ["+", 8, 9, 0, 7, 8, 9, 0, 1, 0, 35]] | 1 | 91 |
#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main() {
int n, i = 0;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
i = 1;
break;
}
n /= 10;
}
if (i == 1) {
cout << "YES" << endl;
} else
cout << "NO" << endl;
return 0;
}
| #include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
int main() {
int n, i = 0;
cin >> n;
while (n != 0) {
if (n % 10 == 7) {
i = 1;
break;
}
n /= 10;
}
if (i == 1) {
cout << "Yes" << endl;
} else
cout << "No" << endl;
return 0;
}
| [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 85 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
bool x = false;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
x = true;
break;
}
x /= 10;
}
cout << (x ? "Yes" : "No");
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
bool x = false;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
x = true;
break;
}
n /= 10;
}
cout << (x ? "Yes" : "No");
return 0;
} | [["-", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22], ["+", 0, 7, 8, 9, 0, 1, 0, 11, 31, 22]] | 1 | 77 |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// write your code here
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
int n = Integer.par... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
// write your code here
BufferedReader reader =
new BufferedReader(new InputStreamReader(System.in));
int n = Integer.par... | [["-", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 64, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["-", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491], ["+", 75, 1, 0, 492, 3, 4, 0, 5, 0, 491]] | 3 | 139 |
#include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
cout << "YES";
return 0;
} else {
n /= 10;
}
}
cout << "NO" << endl;
return 0;
} | #include <iostream>
using namespace std;
int main() {
int n;
cin >> n;
for (int i = 0; i < 3; i++) {
if (n % 10 == 7) {
cout << "Yes";
return 0;
} else {
n /= 10;
}
}
cout << "No" << endl;
return 0;
}
| [["-", 64, 9, 0, 1, 0, 16, 12, 5, 0, 6], ["+", 64, 9, 0, 1, 0, 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 | 72 |
#include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s.find("7") != NULL)
cout << "Yes";
else
cout << "No";
return 0;
}
| #include <iostream>
#include <string>
using namespace std;
int main() {
string s;
cin >> s;
if (s.find("7") != string::npos)
cout << "Yes";
else
cout << "No";
return 0;
}
| [["-", 0, 57, 15, 339, 51, 16, 12, 144, 0, 145], ["+", 0, 57, 15, 339, 51, 16, 12, 343, 345, 348], ["+", 0, 57, 15, 339, 51, 16, 12, 343, 0, 349], ["+", 0, 57, 15, 339, 51, 16, 12, 343, 141, 22]] | 1 | 50 |
#include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string x;
cin >> x;
for (char c : x) {
if (c == '7') {
cout << "YES";
return 0;
}
}
cout << "NO";
}
| #include <bits/stdc++.h>
using namespace std;
int main() {
ios::sync_with_stdio(0);
cin.tie(0);
string x;
cin >> x;
for (char c : x) {
if (c == '7') {
cout << "Yes";
return 0;
}
}
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 | 67 |
#include <bits/stdc++.h>
using namespace std;
int main() {
string input;
cin >> input;
for (int i = 0; i < input.length(); i++) {
if (input[i] == '7') {
cout << "Yes";
break;
}
}
cout << "No";
return 0;
} | #include <bits/stdc++.h>
using namespace std;
int main() {
string input;
cin >> input;
for (int i = 0; i < input.length(); i++) {
if (input[i] == '7') {
cout << "Yes";
return 0;
}
}
cout << "No";
return 0;
} | [["-", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 38], ["+", 8, 9, 0, 57, 64, 9, 0, 37, 0, 13]] | 1 | 69 |
#include <bits/stdc++.h>
#define ll long long
#define ii pair<int, int>
#define N 300123
#define vi vector<int>
#define vii vector<ii>
#define vll vector<ll>
#define pb push_back
#define fs first
#define sc second
#define oo 1000000123
#define sz(x) ((int)((x).size()))
#define OUT -oo
#define left(x) (x << 1)
#define r... | #include <bits/stdc++.h>
#define ll long long
#define ii pair<int, int>
#define N 300123
#define vi vector<int>
#define vii vector<ii>
#define vll vector<ll>
#define pb push_back
#define fs first
#define sc second
#define oo 1000000123
#define sz(x) ((int)((x).size()))
#define OUT -oo
#define left(x) (x << 1)
#define r... | [["-", 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 | 124 |
#include <iostream>
#include <regex>
#include <string>
using namespace std;
int main() {
string n;
int a = 0;
cin >> n;
for (int i = 0; i < n.size(); ++i) {
if (n[i] == '7') {
cout << "Yes";
a = 1;
}
}
if (a == 0)
cout << "No";
cout << endl;
return 0;
} | #include <iostream>
#include <regex>
#include <string>
using namespace std;
int main() {
string n;
int a = 0;
cin >> n;
for (int i = 0; i < n.size(); ++i) {
if (n[i] == '7') {
cout << "Yes";
a = 1;
break;
}
}
if (a == 0)
cout << "No";
cout << endl;
return 0;
} | [["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 94], ["+", 8, 9, 0, 57, 64, 9, 0, 93, 0, 35]] | 1 | 90 |
print('YNeos'['7'in input()::2]) | print('YNeos'[not'7'in input()::2])
| [["+", 3, 4, 0, 206, 206, 663, 0, 681, 0, 372]] | 5 | 18 |
#include <algorithm>
#include <climits>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <vector>
#define ll long long int
using namespace std;
int main() {
string s;
cin >> s;
bool flag = false;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7') {
flag = true;
... | #include <algorithm>
#include <climits>
#include <cmath>
#include <cstring>
#include <iostream>
#include <map>
#include <vector>
#define ll long long int
using namespace std;
int main() {
string s;
cin >> s;
bool flag = false;
for (int i = 0; i < s.size(); i++) {
if (s[i] == '7') {
flag = true;
... | [["-", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6], ["+", 0, 1, 0, 16, 31, 16, 12, 5, 0, 6]] | 1 | 103 |
s = int(input())
if s%10 == 7:
print("Yes")
elif int(s%10)%10 == 7:
print("Yes")
elif int(int(s%10)%10)%10 == 7:
print("Yes")
else:
print("No") | s = int(input())
if s%10 == 7:
print("Yes")
elif int(s/10)%10 == 7:
print("Yes")
elif int(int(s/10)/10)%10 == 7:
print("Yes")
else:
print("No") | [["-", 0, 657, 31, 652, 3, 4, 0, 657, 17, 109], ["+", 0, 657, 31, 652, 3, 4, 0, 657, 17, 85]] | 5 | 70 |
num = int(input())
ans = "No"
for i in range(3):
reminder = num % 10
if(reminder==7):
ans = "Yes"
num = num/10
print(ans) | num = int(input())
ans = "No"
for i in range(3):
reminder = num % 10
if(reminder==7):
ans = "Yes"
num = num/10
num = int(num)
print(ans) | [["+", 0, 7, 8, 196, 0, 1, 0, 662, 31, 22], ["+", 0, 7, 8, 196, 0, 1, 0, 662, 0, 32], ["+", 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, 22], ["+", 0, 1, 0, 662, 12, 652, 3, 4, 0, 25]] | 5 | 47 |
#include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
#define ll long long
#define F first
#define S second
#define PB push_back
#define MP make_pair
int main() {
int c = 0, w = 0;
string n;
cin >> n;
for (int i = 0; i < n.length(); i++) {
i... | #include <algorithm>
#include <iomanip>
#include <iostream>
#include <math.h>
#include <string>
using namespace std;
#define ll long long
#define F first
#define S second
#define PB push_back
#define MP make_pair
int main() {
int c = 0, w = 0;
string n;
cin >> n;
for (int i = 0; i <= n.length(); i++) {
... | [["-", 0, 14, 8, 9, 0, 7, 15, 16, 17, 18], ["+", 0, 14, 8, 9, 0, 7, 15, 16, 17, 19], ["-", 12, 23, 0, 41, 15, 23, 0, 16, 17, 60], ["+", 12, 23, 0, 41, 15, 23, 0, 16, 17, 20]] | 1 | 107 |
s = input()
if(s.find("7")== -1):
print("NO")
else:
print("YES") | s = input()
if(s.find("7")== -1):
print("No")
else:
print("Yes") | [["-", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6], ["+", 0, 1, 0, 652, 3, 4, 0, 557, 0, 6]] | 5 | 34 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.