Caso # | Resultado | Tiempo | Memoria |
---|---|---|---|
#1 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.005 s | 1 KBi |
#2 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.006 s | 1 KBi |
#3 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.006 s | 1 KBi |
#4 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.006 s | 1 KBi |
#5 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.005 s | 1 KBi |
#6 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.006 s | 1 KBi |
#7 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.006 s | 1 KBi |
#8 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.005 s | 1 KBi |
#9 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.005 s | 1 KBi |
#10 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.005 s | 1 KBi |
#11 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.006 s | 1 KBi |
#12 |
Correcto
main.cpp:30:9: warning: 'dbg' macro redefined [-Wmacro-redefined] #define dbg(...) 18 ^ main.cpp:10:9: note: previous definition is here #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) ^ 1 warning generated. |
0.005 s | 1 KBi |
#include <bits/stdc++.h> using namespace std; typedef long long ll; typedef pair<int, int> pii; #define forn(i, a, b) for (int i = a; i < b; ++i) #define SZ(x) int(x.size()) #define pb push_back #define F first #define S second #define dbg(...) cerr << "(" << #__VA_ARGS__ << "):", dbg_out(__VA_ARGS__) void dbg_out() { cerr << endl; } template <typename Head, typename... Tail> void dbg_out(Head H, Tail... T) { cerr << ' ' << H; dbg_out(T...); } const int N = 26; int n, a[N]; string s; int main() { #ifdef LOCAL freopen("a.txt", "r", stdin); // freopen("main.txt", "w", stdout); #else ios::sync_with_stdio(0); cin.tie(0); #define endl '\n' #define dbg(...) 18 #endif cin >> s; for (char c : s) { if (a[c - 'a'] > 0) { cout << "yes" << endl; return 0; } a[c - 'a']++; } cout << "no" << endl; return 0; }