problem_id stringlengths 6 6 | src_id stringlengths 10 10 | split stringclasses 1
value | language stringclasses 1
value | src_code stringlengths 60 490k | gem5_src_per_tc_ticks stringlengths 16 2.01k | gem5_src_excluded stringclasses 324
values | gem5_src_status stringclasses 2
values | gem5_src_sum_ticks_all int64 193M 1,762B | oracle_tgt_id stringlengths 10 10 | oracle_tgt_code stringlengths 54 149k | gem5_oracle_tgt_per_tc_ticks stringlengths 16 1.95k | gem5_oracle_tgt_status stringclasses 2
values | our_speedup_usable float64 0.66 70.3 | our_speedup_all float64 0.2 70.3 | timed_case_ids stringclasses 416
values | correctness_kept_case_ids stringclasses 385
values | usable_case_ids stringclasses 679
values | n_timed int64 1 108 | n_kept int64 0 107 | n_usable int64 1 107 | n_cases_available int64 1 108 | src_n_fail int64 0 5 | ceiling_speedup float64 1 72.6 | flag_low_headroom bool 2
classes | flag_single_case bool 2
classes | flag_empty_kept bool 2
classes | pie_speedup float64 1.1 71.5 | pie_src_agg_runtime float64 0 1.45 | pie_oracle_tgt_agg_runtime float64 0 1.03 | pie_fastest_agg_runtime float64 0 0.36 | pie_src_verdict stringclasses 1
value | pie_oracle_tgt_verdict stringclasses 1
value | pie_fastest_agg_runtime_updated float64 0 0.36 | pie_src_reward_updated float64 0.1 1 | pie_src_reward_updated_pct_bin float64 1 10 | gem5_fastest_id stringlengths 10 10 | gem5_fastest_per_tc_ticks stringlengths 16 1.94k | gem5_fastest_usable_case_ids stringclasses 659
values | gem5_fastest_sum_ticks_usable int64 0 1,027B | our_fastest_speedup float64 0.99 73.4 ⌀ | pie_n_tests float64 | pie_test_accuracy float64 | pie_src_code_accuracy float64 | pie_src_code_compilation float64 | pie_src_code_tc2time stringclasses 0
values | pie_oracle_tgt_code_tc2time stringclasses 0
values | pie_fastest_code stringclasses 0
values | pie_fastest_code_len float64 | pie_fastest_code_runtime float64 | pie_fastest_code_tc2time stringclasses 0
values | pie_tests_case_ids stringclasses 0
values |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
p03863 | s299417564 | train | cpp | #include<iostream>
#include<algorithm>
#include<string.h>
using namespace std;
int main()
{
int b;
string s;
while(cin>>s)
{
int a=s.length();
if(s[0]==s[a-1])
b=a-3;
else
b=a-2;
if(b%2)
cout<<"First"<<endl;
else
cout<<"Second"<<endl;
}
return 0;
} | {"0": 1026679654, "1": 1026633894, "2": 1026679654, "3": 1026763738, "4": 1026679654, "5": 1026763738, "6": 1026679654, "7": 1026679654, "8": 1026763738, "9": 1026679654, "10": 1026679654, "11": 1026763738, "12": 1026679654, "13": 1026679654, "14": 1026763738, "15": 1026679654, "16": 1026633894, "17": 1026763738, "18":... | [] | ok | 106,777,475,948 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.388139 | 5.388139 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.34743 | false | false | false | 5.471337 | 0.105846 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998431 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.394052 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s996475500 | train | cpp |
#include<iostream>
#include<string.h>
using namespace std;
int main()
{
string s;
int t;
cin>>s;
t=s.size();
if(s[0]==s[t-1])
{
if(t%2==0)
cout<<"First"<<endl;
if(t%2!=0)
cout<<"Second"<<endl;
}
else
{
if(t%2==0)
cout<<"Second"<<endl;
else
cout<<"First"<<endl;
}
retur... | {"0": 1017940638, "1": 1018330742, "2": 1017940638, "3": 1017949790, "4": 1017940638, "5": 1017949790, "6": 1017940638, "7": 1017940638, "8": 1017949790, "9": 1017940638, "10": 1017940638, "11": 1017949790, "12": 1017940638, "13": 1017940638, "14": 1017949790, "15": 1017940638, "16": 1018330742, "17": 1017949790, "18":... | [] | ok | 105,867,244,340 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.342208 | 5.342208 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.301845 | false | false | false | 5.471541 | 0.10585 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998431 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.34807 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s355424715 | train | cpp | #include <iostream>
#include <cstring>
using namespace std;
int main(){
string s;
cin>>s;
if(s[0]==s[s.length()-1]){
if(s.length()%2==0)
cout<<"First"<<endl;
else cout<<"Second"<<endl;
}
else {
if(s.length()%2==0)
cout<<"Second"<<endl;
else cout<<"First"<<endl;
}
... | {"0": 1017902886, "1": 1018312438, "2": 1017902886, "3": 1017904602, "4": 1017902886, "5": 1017904602, "6": 1017902886, "7": 1017902886, "8": 1017904602, "9": 1017902886, "10": 1017902886, "11": 1017904602, "12": 1017902886, "13": 1017902886, "14": 1017904602, "15": 1017902886, "16": 1018312438, "17": 1017904602, "18":... | [] | ok | 105,864,299,970 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.342059 | 5.342059 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.301698 | false | false | false | 5.471541 | 0.10585 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998431 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.347921 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s066953952 | train | cpp | #include<cstring>
#include<iostream>
using namespace std;
int main()
{
int flag=0,count=0;
char a[100005];
cin>>a;
(a[0]==a[strlen(a)-1])?(flag=1):0;
count+=flag+strlen(a);
cout<<((count&1)?"First":"Second");
return 0;
} | {"0": 1015601730, "1": 1015601730, "2": 1015601730, "3": 1015601730, "4": 1015601730, "5": 1015601730, "6": 1015601730, "7": 1015601730, "8": 1015601730, "9": 1015601730, "10": 1015601730, "11": 1015601730, "12": 1015601730, "13": 1015601730, "14": 1015601730, "15": 1015601730, "16": 1015601730, "17": 1015601730, "18":... | [] | ok | 105,622,579,920 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.329861 | 5.329861 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.289592 | false | false | false | 5.431542 | 0.105076 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998417 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.33571 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s405141096 | train | cpp | #include <iostream>
#include <bits/stdc++.h>
using namespace std;
char c[100005];
int main()
{
cin>>c;
int len=strlen(c);
if(c[0]==c[len-1])
len++;
if(len%2==0)
cout<<"Second"<<endl;
else
cout << "First" << endl;
return 0;
}
| {"0": 1018528940, "1": 1018520074, "2": 1018528940, "3": 1018574414, "4": 1018528940, "5": 1018574414, "6": 1018528940, "7": 1018528940, "8": 1018574414, "9": 1018528940, "10": 1018528940, "11": 1018574414, "12": 1018528940, "13": 1018528940, "14": 1018574414, "15": 1018528940, "16": 1018520074, "17": 1018574414, "18":... | [] | ok | 105,928,590,768 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.345303 | 5.345303 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.304917 | false | false | false | 5.437672 | 0.105194 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998419 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.351169 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s963041931 | train | cpp | #include <algorithm>
#include <bitset>
#include <cstdio>
#include <cstring>
#include <iostream>
#include <map>
#include <queue>
#include <set>
#include <vector>
#define MP make_pair
#define ls (o << 1)
#define rs (o << 1 | 1)
#define mid ((L + R) >> 1)
#define eps (1e-5)
using namespace std;
typedef long... | {"0": 1005988412, "1": 1007627192, "2": 1005988412, "3": 1005940364, "4": 1005988412, "5": 1005940364, "6": 1005988412, "7": 1005988412, "8": 1005940364, "9": 1005988412, "10": 1005988412, "11": 1005940364, "12": 1005988412, "13": 1005988412, "14": 1005940364, "15": 1005988412, "16": 1007627192, "17": 1005940364, "18":... | [] | ok | 104,631,186,088 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.279834 | 5.279834 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.239943 | false | false | false | 5.383275 | 0.104142 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.9984 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.285628 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s965668997 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
char s[100010];
int ans,len;
scanf("%s",s);len=strlen(s);
if (s[0]==s[len-1])
{
if (len & 1) ans=2;
else ans=1;
}
else
{
if (len & 1) ans=1;
else ans=2;
}
if (ans==1) cout<<... | {"0": 1019974670, "1": 1020372210, "2": 1019974670, "3": 1019965232, "4": 1019974670, "5": 1019965232, "6": 1019974670, "7": 1019974670, "8": 1019965232, "9": 1019974670, "10": 1019974670, "11": 1019965232, "12": 1019974670, "13": 1019974670, "14": 1019965232, "15": 1019974670, "16": 1020372210, "17": 1019965232, "18":... | [] | ok | 106,079,388,272 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.352913 | 5.352913 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.312469 | false | false | false | 5.437575 | 0.105193 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998419 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.358786 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s305053041 | train | cpp | #include <iostream>
#include <cstring>
#include <cstdio>
#include <string>
using namespace std;
string s;
int main(){
//freopen("main.in","r",stdin);
cin >> s;
int len;
if(s[0] == s[s.length()-1]) {
len = s.length() - 3;
}
else{
len = s.length() - 2;
}
if(len % 2){
cout <... | {"0": 1018150848, "1": 1018605302, "2": 1018150848, "3": 1018554394, "4": 1018150848, "5": 1018554394, "6": 1018150848, "7": 1018150848, "8": 1018554394, "9": 1018150848, "10": 1018150848, "11": 1018554394, "12": 1018150848, "13": 1018150848, "14": 1018554394, "15": 1018150848, "16": 1018605302, "17": 1018554394, "18":... | [] | ok | 105,903,833,178 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.344054 | 5.344054 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.303678 | false | false | false | 5.435005 | 0.105143 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998418 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.349918 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s613174366 | train | cpp | #include<bits/stdc++.h>
using namespace std;
char s[100010];
int main(){
scanf("%s",s);
int len=strlen(s);
int ans=(s[0]==s[len-1])^(len%2);
if(!ans)cout<<"Second"<<endl;
else cout<<"First"<<endl;
}
| {"0": 1010671662, "1": 1010777196, "2": 1010671662, "3": 1010679956, "4": 1010671662, "5": 1010679956, "6": 1010671662, "7": 1010671662, "8": 1010679956, "9": 1010671662, "10": 1010671662, "11": 1010679956, "12": 1010671662, "13": 1010671662, "14": 1010679956, "15": 1010671662, "16": 1010777196, "17": 1010679956, "18":... | [] | ok | 105,110,884,164 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.304041 | 5.304041 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.263967 | false | false | false | 5.423652 | 0.104923 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998414 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.309861 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s985284801 | train | cpp | #include <bits/stdc++.h>
using namespace std;
string s;
int main(){
cin >> s;
if(s[0] == s[s.length() - 1]){
if(s.length() % 2)
cout << "Second" << endl;
else
cout << "First" << endl;
}else{
if(s.length() % 2)
cout << "First" << endl;
else
cout << "Second" << endl;
}
return 0;
... | {"0": 1018554966, "1": 1018546386, "2": 1018554966, "3": 1018561830, "4": 1018554966, "5": 1018561830, "6": 1018554966, "7": 1018554966, "8": 1018561830, "9": 1018554966, "10": 1018554966, "11": 1018561830, "12": 1018554966, "13": 1018554966, "14": 1018561830, "15": 1018554966, "16": 1018546386, "17": 1018561830, "18":... | [] | ok | 105,930,302,192 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.34539 | 5.34539 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.305003 | false | false | false | 5.435282 | 0.105148 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998419 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.351255 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s806429144 | train | cpp | #include <bits/stdc++.h>
using namespace std;
char st[100010];
int main() {
scanf("%s", st);
int l = strlen(st);
if (st[0] == st[l-1]) {
if (l % 2 == 1) {
puts("Second");
} else {
puts("First");
}
} else {
if (l % 2 == 1) {
puts("First");
} else {
puts("Second");
}
}
... | {"0": 1006055622, "1": 1006055622, "2": 1006055622, "3": 1006055622, "4": 1006055622, "5": 1006055622, "6": 1006055622, "7": 1006055622, "8": 1006055622, "9": 1006055622, "10": 1006055622, "11": 1006055622, "12": 1006055622, "13": 1006055622, "14": 1006055622, "15": 1006055622, "16": 1006055622, "17": 1006055622, "18":... | [] | ok | 104,629,784,688 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.279764 | 5.279764 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.239873 | false | false | false | 5.375677 | 0.103995 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998397 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.285557 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s733619120 | train | cpp | #include<bits/stdc++.h>
using namespace std;
char s[100010];
int main(){
scanf("%s",s);
int len = strlen(s);
if(s[0] == s[len-1]) len--;
if(len & 1) printf("First");
else printf("Second");
return 0;
} | {"0": 1006220930, "1": 1006348486, "2": 1006220930, "3": 1006220930, "4": 1006220930, "5": 1006220930, "6": 1006220930, "7": 1006220930, "8": 1006220930, "9": 1006220930, "10": 1006220930, "11": 1006220930, "12": 1006220930, "13": 1006220930, "14": 1006220930, "15": 1006220930, "16": 1006348486, "17": 1006220930, "18":... | [] | ok | 104,647,742,056 | s624318321 | #include<cstdio>
#include<cstring>
using namespace std;
int n; char s[100010];
int main()
{
scanf("%s",s); n=strlen(s);
if(s[0]==s[n-1]) --n;
puts(n%2 ? "First" : "Second");
return 0;
} | {"0": 190538348, "1": 190594690, "2": 190538348, "3": 190579818, "4": 190538348, "5": 190579818, "6": 190538348, "7": 190538348, "8": 190579818, "9": 190538348, "10": 190538348, "11": 190579818, "12": 190538348, "13": 190538348, "14": 190579818, "15": 190538348, "16": 190594690, "17": 190579818, "18": 190523190, "19": ... | ok | 5.28067 | 5.28067 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.240772 | false | false | false | 5.38253 | 0.104128 | 0.019345 | 0.01921 | Accepted | Accepted | 0.01921 | 0.9984 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.286464 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s732824096 | train | cpp | #include<bits/stdc++.h>
using namespace std;
string s;
int main() {
cin >> s;
int l = s.size();
if(s[0] == s[l-1]) {
if((l - 2) % 2)printf("Second\n");
else printf("First\n");
}
else {
if((l - 2) % 2) printf("First\n");
else printf("Second\n");
}
}
| {"0": 1014087932, "1": 1014147420, "2": 1014087932, "3": 1014147420, "4": 1014087932, "5": 1014147420, "6": 1014087932, "7": 1014087932, "8": 1014147420, "9": 1014087932, "10": 1014087932, "11": 1014147420, "12": 1014087932, "13": 1014087932, "14": 1014147420, "15": 1014087932, "16": 1014147420, "17": 1014147420, "18":... | [] | ok | 105,467,372,868 | s101679218 | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#define ll long long
using namespace std;
const int maxn = 200010;
char s[maxn];
int n, flag;
int main () {
scanf ("%s", s);
n = strlen(s);
if (s[0] == s[n-1]) {
if (n&1) flag = true;
} else {
if(n&1);
else f... | {"0": 190895276, "1": 190905000, "2": 190895276, "3": 190895276, "4": 190895276, "5": 190895276, "6": 190895276, "7": 190895276, "8": 190895276, "9": 190895276, "10": 190895276, "11": 190895276, "12": 190895276, "13": 190895276, "14": 190895276, "15": 190895276, "16": 190905000, "17": 190895276, "18": 190905000, "19": ... | ok | 5.312331 | 5.312331 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.28182 | false | false | false | 5.375579 | 0.104335 | 0.019409 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997657 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.327869 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s998519238 | train | cpp | //#include <bits/stdc++.h>
#include <stdio.h>
#include <iostream>
#include <string.h>
#include <math.h>
#include <stdlib.h>
#include <limits.h>
#include <algorithm>
#include <queue>
#include <vector>
#include <set>
#include <map>
#include <stack>
#include <bitset>
#include <string>
#include <time.h>
usi... | {"0": 1006369650, "1": 1006362500, "2": 1006369650, "3": 1006362500, "4": 1006369650, "5": 1006362500, "6": 1006369650, "7": 1006369650, "8": 1006362500, "9": 1006369650, "10": 1006369650, "11": 1006362500, "12": 1006369650, "13": 1006369650, "14": 1006362500, "15": 1006369650, "16": 1006362500, "17": 1006362500, "18":... | [] | ok | 104,662,093,250 | s101679218 | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#define ll long long
using namespace std;
const int maxn = 200010;
char s[maxn];
int n, flag;
int main () {
scanf ("%s", s);
n = strlen(s);
if (s[0] == s[n-1]) {
if (n&1) flag = true;
} else {
if(n&1);
else f... | {"0": 190895276, "1": 190905000, "2": 190895276, "3": 190895276, "4": 190895276, "5": 190895276, "6": 190895276, "7": 190895276, "8": 190895276, "9": 190895276, "10": 190895276, "11": 190895276, "12": 190895276, "13": 190895276, "14": 190895276, "15": 190895276, "16": 190905000, "17": 190895276, "18": 190905000, "19": ... | ok | 5.27177 | 5.27177 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.241491 | false | false | false | 5.368944 | 0.104206 | 0.019409 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997654 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.287189 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s237127659 | train | cpp | #include<bits/stdc++.h>
using namespace std;
string s;
int l;
int main() {
cin>>s;
l = s.length();
if (s[0] == s[l - 1]) {
if (l % 2 == 0) cout<<"First"; else cout<<"Second";
} else {
if (l % 2 == 0) cout<<"Second"; else cout<<"First";
}
} | {"0": 1016137408, "1": 1016137408, "2": 1016137408, "3": 1016137408, "4": 1016137408, "5": 1016137408, "6": 1016137408, "7": 1016137408, "8": 1016137408, "9": 1016137408, "10": 1016137408, "11": 1016137408, "12": 1016137408, "13": 1016137408, "14": 1016137408, "15": 1016137408, "16": 1016137408, "17": 1016137408, "18":... | [] | ok | 105,679,078,362 | s101679218 | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#define ll long long
using namespace std;
const int maxn = 200010;
char s[maxn];
int n, flag;
int main () {
scanf ("%s", s);
n = strlen(s);
if (s[0] == s[n-1]) {
if (n&1) flag = true;
} else {
if(n&1);
else f... | {"0": 190895276, "1": 190905000, "2": 190895276, "3": 190895276, "4": 190895276, "5": 190895276, "6": 190895276, "7": 190895276, "8": 190895276, "9": 190895276, "10": 190895276, "11": 190895276, "12": 190895276, "13": 190895276, "14": 190895276, "15": 190895276, "16": 190905000, "17": 190895276, "18": 190905000, "19": ... | ok | 5.322995 | 5.322995 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.292422 | false | false | false | 5.397003 | 0.10475 | 0.019409 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997669 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.338564 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s028075260 | train | cpp | #include<bits/stdc++.h>
using namespace std;
const int maxn=1e5+7;
char s[maxn];
int main()
{
int i,j;
scanf("%s",s);
int n=strlen(s);
if(n%2==0)
{
if(s[0]==s[n-1])
printf("First");
else printf("Second");
}
else
{
if(s[0]==s[n-1])
printf("Second");
else printf("First");
... | {"0": 1006348486, "1": 1006348486, "2": 1006348486, "3": 1006348486, "4": 1006348486, "5": 1006348486, "6": 1006348486, "7": 1006348486, "8": 1006348486, "9": 1006348486, "10": 1006348486, "11": 1006348486, "12": 1006348486, "13": 1006348486, "14": 1006348486, "15": 1006348486, "16": 1006348486, "17": 1006348486, "18":... | [] | ok | 104,660,242,544 | s101679218 | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#define ll long long
using namespace std;
const int maxn = 200010;
char s[maxn];
int n, flag;
int main () {
scanf ("%s", s);
n = strlen(s);
if (s[0] == s[n-1]) {
if (n&1) flag = true;
} else {
if(n&1);
else f... | {"0": 190895276, "1": 190905000, "2": 190895276, "3": 190895276, "4": 190895276, "5": 190895276, "6": 190895276, "7": 190895276, "8": 190895276, "9": 190895276, "10": 190895276, "11": 190895276, "12": 190895276, "13": 190895276, "14": 190895276, "15": 190895276, "16": 190905000, "17": 190895276, "18": 190905000, "19": ... | ok | 5.271676 | 5.271676 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.241398 | false | false | false | 5.364809 | 0.104126 | 0.019409 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997652 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.287096 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s860071283 | train | cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn= 1e5+10;
char s[maxn];
int main (void) {
scanf ("%s", s);
int len = strlen (s);
if (s[0] == s[len-1]) len--;
if (len % 2 == 1) printf ("First\n");
else printf ("Second\n");
return 0;
} | {"0": 1006131126, "1": 1006131126, "2": 1006131126, "3": 1006131126, "4": 1006131126, "5": 1006131126, "6": 1006131126, "7": 1006131126, "8": 1006131126, "9": 1006131126, "10": 1006131126, "11": 1006131126, "12": 1006131126, "13": 1006131126, "14": 1006131126, "15": 1006131126, "16": 1006131126, "17": 1006131126, "18":... | [] | ok | 104,637,637,104 | s101679218 | #include <cstdio>
#include <cstring>
#include <algorithm>
#include <vector>
#define ll long long
using namespace std;
const int maxn = 200010;
char s[maxn];
int n, flag;
int main () {
scanf ("%s", s);
n = strlen(s);
if (s[0] == s[n-1]) {
if (n&1) flag = true;
} else {
if(n&1);
else f... | {"0": 190895276, "1": 190905000, "2": 190895276, "3": 190895276, "4": 190895276, "5": 190895276, "6": 190895276, "7": 190895276, "8": 190895276, "9": 190895276, "10": 190895276, "11": 190895276, "12": 190895276, "13": 190895276, "14": 190895276, "15": 190895276, "16": 190905000, "17": 190895276, "18": 190905000, "19": ... | ok | 5.270538 | 5.270538 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.240266 | false | false | false | 5.365445 | 0.104138 | 0.019409 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997652 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.285954 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s956363818 | train | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <vector>
#include <stack>
#include <queue>
#include <map>
#include <set>
#include <string>
#include <cstring>
#define ll long long
#define rep(x,n) for(ll (x)=0;(x)<n;(x)++)
#define rep1(x,n) for(ll (x)=1;(x)<=n;(x)++)
using namespace std;... | {"0": 1325849096, "1": 1325849096, "2": 1325849096, "3": 1325849096, "4": 1325849096, "5": 1325849096, "6": 1325849096, "7": 1325849096, "8": 1325849096, "9": 1325849096, "10": 1325849096, "11": 1325843948, "12": 1325849096, "13": 1325849096, "14": 1325849096, "15": 1325849096, "16": 1325849096, "17": 1325849096, "18":... | [] | ok | 137,888,223,616 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 6.944901 | 6.944901 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 6.90546 | false | false | false | 6.935214 | 0.137284 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.99504 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 6.965666 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s625051775 | train | cpp |
#include<bits/stdc++.h>
#define MEM(a,x) memset(a,x,sizeof(a))
#define MEMINF(a) memset(a,0x3f,sizeof(a))
using namespace std;
typedef long long LL;
const int MAXN=2e5 + 10;
const int INF=0x3f3f3f3f;
const int MOD=1000000007;
int main() {
LL len;
string s;
cin >> s;
len = s.length();
if ((len%2... | {"0": 1017929770, "1": 1017909464, "2": 1017929770, "3": 1018340180, "4": 1017929770, "5": 1018340180, "6": 1017929770, "7": 1017929770, "8": 1018340180, "9": 1017929770, "10": 1017929770, "11": 1018340180, "12": 1017929770, "13": 1017929770, "14": 1018340180, "15": 1017929770, "16": 1017909464, "17": 1018340180, "18":... | [] | ok | 105,877,683,626 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.332653 | 5.332653 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.302368 | false | false | false | 5.347239 | 0.10585 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993241 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.348597 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s147360618 | train | cpp | #include <cstdio>
#include <cstring>
#include <cmath>
#include <queue>
#include <vector>
#include <time.h>
#include <string>
#include <stack>
#include <set>
#include <map>
#include <iostream>
#include <bitset>
#include <algorithm>
using namespace std;
#define MP make_pair
#define PB push_back
#define ms... | {"0": 1018548388, "1": 1018544956, "2": 1018548388, "3": 1018591288, "4": 1018548388, "5": 1018591288, "6": 1018548388, "7": 1018548388, "8": 1018591288, "9": 1018548388, "10": 1018548388, "11": 1018591288, "12": 1018548388, "13": 1018548388, "14": 1018591288, "15": 1018548388, "16": 1018544956, "17": 1018591288, "18":... | [] | ok | 105,929,912,946 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.335284 | 5.335284 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.304984 | false | false | false | 5.314128 | 0.105194 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993189 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.351235 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s281609513 | train | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
using namespace std;
char s[100010];
int main () {
cin >> s;
int len = strlen (s);
if (s[0] == s[len - 1]) {
if (len % 2 == 0) {
cout << "First" << endl;
} else {
cout << "S... | {"0": 1018432558, "1": 1018574414, "2": 1018432558, "3": 1018521218, "4": 1018432558, "5": 1018521218, "6": 1018432558, "7": 1018432558, "8": 1018521218, "9": 1018432558, "10": 1018432558, "11": 1018521218, "12": 1018432558, "13": 1018432558, "14": 1018521218, "15": 1018432558, "16": 1018574414, "17": 1018521218, "18":... | [] | ok | 105,920,589,346 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.334814 | 5.334814 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.304517 | false | false | false | 5.314091 | 0.105193 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993189 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.350764 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s499067481 | train | cpp | #include <bits/stdc++.h>
using namespace std;
#define X first
#define Y second
#define LL long long
#define ULL unsigned long long
#define PB push_back
#define MP make_pair
#define VI vector<int>
#define PII pair<int,int>
#define IOS ios::sync_with_stdio(0);cin.tie(0);
#define IN freopen("in", "r", stdin);... | {"0": 1032669066, "1": 1032629598, "2": 1032669066, "3": 1032661630, "4": 1032669066, "5": 1032661630, "6": 1032669066, "7": 1032669066, "8": 1032661630, "9": 1032669066, "10": 1032669066, "11": 1032661630, "12": 1032669066, "13": 1032669066, "14": 1032661630, "15": 1032669066, "16": 1032629598, "17": 1032661630, "18":... | [] | ok | 107,396,540,108 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.409152 | 5.409152 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.378432 | false | false | false | 5.391196 | 0.10672 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993308 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.425325 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s114084070 | train | cpp | #include <iostream>
#include <cstdio>
#include <algorithm>
#include <queue>
#include <cmath>
#include <stack>
#include <map>
#include <set>
#include <utility>
#include <cstring>
#include <vector>
#define rep(i,n) for(ll i=1;i<=n;i++)
#define repn(i,n) for(ll i=n;i>=1;i--)
#define ll long long
#define mt(a... | {"0": 1040897858, "1": 1041621152, "2": 1040897858, "3": 1040896714, "4": 1040897858, "5": 1040896714, "6": 1040897858, "7": 1040897858, "8": 1040896714, "9": 1040897858, "10": 1040897858, "11": 1040896714, "12": 1040897858, "13": 1040897858, "14": 1040896714, "15": 1040897858, "16": 1041621152, "17": 1040896714, "18":... | [] | ok | 108,257,629,480 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.452522 | 5.452522 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.421556 | false | false | false | 5.428879 | 0.107466 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993365 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.468824 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s588629190 | train | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <set>
#include <utility>
#include <vector>
#include <map>
#include <queue>
#include <stack>
const int inf=0x3f3f3f3f;
const double PI=acos(-1.0);
const double EPS=1e-10;
using namespace std;
typedef lo... | {"0": 1006691972, "1": 1006692830, "2": 1006691972, "3": 1006691972, "4": 1006691972, "5": 1006691972, "6": 1006691972, "7": 1006691972, "8": 1006691972, "9": 1006691972, "10": 1006691972, "11": 1006691972, "12": 1006691972, "13": 1006691972, "14": 1006691972, "15": 1006691972, "16": 1006692830, "17": 1006691972, "18":... | [] | ok | 104,695,972,524 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.273135 | 5.273135 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.243188 | false | false | false | 5.259726 | 0.104117 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993103 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.288901 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s307389432 | train | cpp | #include <iostream>
#include <stdio.h>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <cstring>
#include <stack>
#include <map>
#include <set>
#include <string>
#include <vector>
#include <queue>
#include <bitset>
#define ms(A, B) memset(A, B, sizeof(A))
using namespace std;
typedef lo... | {"0": 1006145140, "1": 1006145140, "2": 1006145140, "3": 1006145140, "4": 1006145140, "5": 1006145140, "6": 1006145140, "7": 1006145140, "8": 1006145140, "9": 1006145140, "10": 1006145140, "11": 1006145140, "12": 1006145140, "13": 1006145140, "14": 1006145140, "15": 1006145140, "16": 1006145140, "17": 1006145140, "18":... | [] | ok | 104,639,009,046 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.270266 | 5.270266 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.240335 | false | false | false | 5.253557 | 0.103995 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993093 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.286023 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s950481632 | train | cpp | #include <stdio.h>
#include <string.h>
#include <iostream>
#include <algorithm>
#include <queue>
#include <vector>
#include <string>
#include <set>
#include <map>
#define ll long long
#define ull unsigned long long
#define rep(i, to) for(int i = 0; i < (to); ++i)
#define rep1(i, to) for(int i = 1; i <= (to)... | {"0": 1006639062, "1": 1006639062, "2": 1006639062, "3": 1006639062, "4": 1006639062, "5": 1006639062, "6": 1006639062, "7": 1006639062, "8": 1006639062, "9": 1006639062, "10": 1006639062, "11": 1006639062, "12": 1006639062, "13": 1006639062, "14": 1006639062, "15": 1006639062, "16": 1006639062, "17": 1006639062, "18":... | [] | ok | 104,690,467,596 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.272858 | 5.272858 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.242912 | false | false | false | 5.255852 | 0.104041 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993097 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.288623 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s457736392 | train | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <vector>
#include <queue>
#include <string>
#include <stack>
#include <map>
#include <ctime>
#include <set>
#include <bitset>
#define X first
#define Y second
#define clr(u,v); memset(u,v,sizeof(u));
... | {"0": 1006145140, "1": 1006145140, "2": 1006145140, "3": 1006145140, "4": 1006145140, "5": 1006145140, "6": 1006145140, "7": 1006145140, "8": 1006145140, "9": 1006145140, "10": 1006145140, "11": 1006145140, "12": 1006145140, "13": 1006145140, "14": 1006145140, "15": 1006145140, "16": 1006145140, "17": 1006145140, "18":... | [] | ok | 104,639,094,560 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.27027 | 5.27027 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.240339 | false | false | false | 5.260883 | 0.10414 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993105 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.286027 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s526121942 | train | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <string.h>
#include <cmath>
#include <cstdlib>
#include <map>
using namespace std;
const int INF = 1 << 30;
const int maxn = 100000 + 10;
char arr[maxn];
int book[maxn];
int main()
{
//freopen("in", "r", stdin);
scanf("%s", a... | {"0": 1006693974, "1": 1006693974, "2": 1006693974, "3": 1006693974, "4": 1006693974, "5": 1006693974, "6": 1006693974, "7": 1006693974, "8": 1006693974, "9": 1006693974, "10": 1006693974, "11": 1006693974, "12": 1006693974, "13": 1006693974, "14": 1006693974, "15": 1006693974, "16": 1006693974, "17": 1006693974, "18":... | [] | ok | 104,697,872,136 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.27323 | 5.27323 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.243283 | false | false | false | 5.263737 | 0.104197 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993109 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.288997 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s847233102 | train | cpp | #include <iostream>
#include <algorithm>
#include <string>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <vector>
using namespace std;
typedef long long ll;
const ll mol=1000000007;
const int maxn=1000000;
const double PI=acos(-1.0);
char ch[maxn];
int main()
{
#ifd... | {"0": 1007253962, "1": 1007162728, "2": 1007253962, "3": 1007253962, "4": 1007253962, "5": 1007253962, "6": 1007253962, "7": 1007253962, "8": 1007253962, "9": 1007253962, "10": 1007253962, "11": 1007253962, "12": 1007253962, "13": 1007253962, "14": 1007253962, "15": 1007253962, "16": 1007162728, "17": 1007253962, "18":... | [] | ok | 104,754,049,400 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.27606 | 5.27606 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.246096 | false | false | false | 5.265994 | 0.104241 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993113 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.291835 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s641327127 | train | cpp | #define bi
#include <iostream>
#include<cstdio>
#include<cstdlib>
#include<cmath>
#include<cstring>
#include<algorithm>
#include<set>
#include<map>
#include<vector>
#include<queue>
#include<string>
#define MP make_pair
using namespace std;
typedef long long ll;
const ll maxn=1e5+10;
const ll mod=1e9+7;
... | {"0": 1023160710, "1": 1023475596, "2": 1023160710, "3": 1023160710, "4": 1023160710, "5": 1023160710, "6": 1023160710, "7": 1023160710, "8": 1023160710, "9": 1023160710, "10": 1023160710, "11": 1023160710, "12": 1023160710, "13": 1023160710, "14": 1023160710, "15": 1023160710, "16": 1023475596, "17": 1023160710, "18":... | [] | ok | 106,410,439,278 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.359486 | 5.359486 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.329048 | false | false | false | 5.369706 | 0.106294 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993275 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.37551 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s080292279 | train | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <assert.h>
#define IOS ios::sync_with_stdio(false)
using namespace std;
#define inf (0x3f3f3f3f)
typedef long long int LL;
#include <iostream>
#include <sstream>
#include <vector>
#include <set>
#inc... | {"0": 1019964660, "1": 1020767176, "2": 1019964660, "3": 1021034300, "4": 1019964660, "5": 1021034300, "6": 1019964660, "7": 1019964660, "8": 1020887296, "9": 1019964660, "10": 1019964660, "11": 1020887296, "12": 1019964660, "13": 1019964660, "14": 1020887296, "15": 1019964660, "16": 1020767176, "17": 1020887296, "18":... | [] | ok | 106,112,570,278 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.344483 | 5.344483 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.314131 | false | false | false | 5.330441 | 0.105517 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993215 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.360463 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s062003089 | train | cpp | #include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <assert.h>
#define IOS ios::sync_with_stdio(false)
using namespace std;
#define inf (0x3f3f3f3f)
typedef long long int LL;
#include <iostream>
#include <sstream>
#include <vector>
#include <set>
#inc... | {"0": 1017921476, "1": 1017943784, "2": 1017921476, "3": 1017929198, "4": 1017921476, "5": 1017929198, "6": 1017921476, "7": 1017921476, "8": 1017929198, "9": 1017921476, "10": 1017921476, "11": 1017929198, "12": 1017921476, "13": 1017921476, "14": 1017929198, "15": 1017921476, "16": 1017943784, "17": 1017929198, "18":... | [] | ok | 105,864,225,038 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.331975 | 5.331975 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.301694 | false | false | false | 5.305209 | 0.105018 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993175 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.347917 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s835637710 | train | cpp | #include <cstdio>
#include <iostream>
#include <cstring>
#include <algorithm>
using namespace std;
const int maxn=1e5+10;
char str[maxn];
int main()
{
cin>>str;
int len=strlen(str);
if (str[0]==str[len-1]){
if (len&1){
cout<<"Second\n";
}
else cout<<"First\n";
... | {"0": 1016165722, "1": 1016165722, "2": 1016165722, "3": 1016165722, "4": 1016165722, "5": 1016165722, "6": 1016165722, "7": 1016165722, "8": 1016165722, "9": 1016165722, "10": 1016165722, "11": 1016165722, "12": 1016165722, "13": 1016165722, "14": 1016165722, "15": 1016165722, "16": 1016165722, "17": 1016165722, "18":... | [] | ok | 105,680,957,096 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.322745 | 5.322745 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.292516 | false | false | false | 5.294128 | 0.104798 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993158 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.338659 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s660284564 | train | cpp | #include <iostream>
#include <algorithm>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <stack>
#include <queue>
#include <vector>
#include <map>
#include <set>
using namespace std;
#define ll long long
char s[300005];
int main()
{
scanf("%s",s);
int l=strle... | {"0": 1006634772, "1": 1006590728, "2": 1006634772, "3": 1006590728, "4": 1006634772, "5": 1006590728, "6": 1006634772, "7": 1006634772, "8": 1006590728, "9": 1006634772, "10": 1006634772, "11": 1006590728, "12": 1006634772, "13": 1006634772, "14": 1006590728, "15": 1006634772, "16": 1006590728, "17": 1006590728, "18":... | [] | ok | 104,687,865,568 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.272726 | 5.272726 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.242782 | false | false | false | 5.255641 | 0.104036 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993096 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.288491 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s955757012 | train | cpp | #include<bits/stdc++.h>
#define rep(i,j,k) for(int i=(j);i<(k);i++)
#define mp make_pair
#define sz(a) (int)(a).size()
#define pb push_back
using namespace std;
typedef long long ll;
typedef pair<int,int> pii;
typedef pair<double,double> pdd;
typedef long double ld;
//----head----
char str[100005];
int main... | {"0": 1006145140, "1": 1006145140, "2": 1006145140, "3": 1006145140, "4": 1006145140, "5": 1006145140, "6": 1006145140, "7": 1006145140, "8": 1006145140, "9": 1006145140, "10": 1006145140, "11": 1006145140, "12": 1006145140, "13": 1006145140, "14": 1006145140, "15": 1006145140, "16": 1006145140, "17": 1006145140, "18":... | [] | ok | 104,639,094,560 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.27027 | 5.27027 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.240339 | false | false | false | 5.260995 | 0.104142 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993105 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.286027 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s425362197 | train | cpp | #include <iostream>
#include <cstdlib>
#include <algorithm>
#include <cstdio>
#include <cmath>
#include <cstring>
using namespace std;
char s[100005];
int main() {
scanf("%s",s);
int len=strlen(s);
if ((len&1)!=(s[0]==s[len-1])) printf("First\n"); else printf("Second\n");
return 0;
... | {"0": 1006131126, "1": 1006131126, "2": 1006131126, "3": 1006131126, "4": 1006131126, "5": 1006131126, "6": 1006131126, "7": 1006131126, "8": 1006131126, "9": 1006131126, "10": 1006131126, "11": 1006131126, "12": 1006131126, "13": 1006131126, "14": 1006131126, "15": 1006131126, "16": 1006131126, "17": 1006131126, "18":... | [] | ok | 104,637,637,104 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.270197 | 5.270197 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.240266 | false | false | false | 5.260552 | 0.104134 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993104 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.285954 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s603680798 | train | cpp | #include <bits/stdc++.h>
using namespace std;
const int maxn=1e5+5;
char a[maxn];
int main()
{
while(~scanf("%s", a))
{
int len=strlen(a);
if(len&1)
{
if(a[0]==a[len-1])printf("Second\n");
else printf("First\n");
}
else
{
... | {"0": 1006839262, "1": 1006839262, "2": 1006839262, "3": 1006839262, "4": 1006839262, "5": 1006839262, "6": 1006839262, "7": 1006839262, "8": 1006839262, "9": 1006839262, "10": 1006839262, "11": 1006839262, "12": 1006839262, "13": 1006839262, "14": 1006839262, "15": 1006839262, "16": 1006839262, "17": 1006839262, "18":... | [] | ok | 104,711,283,248 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.273906 | 5.273906 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.243954 | false | false | false | 5.265024 | 0.104222 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993111 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.289674 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s201393042 | train | cpp | #include<iostream>
#include <math.h>
#include <bits/stdc++.h>
#define ll long long
#define inf 0x3f3f3f3f
#define maxn 310000
using namespace std;
int vis[maxn];
char s[111111];
int main()
{
int i,j,n,jj=0,sum=0,k,flag;
cin>>s;
n=strlen(s);
if(n%2==0)
{
if(s[0]==s[n-1])
... | {"0": 1013663794, "1": 1013780196, "2": 1013663794, "3": 1013780196, "4": 1013663794, "5": 1013780196, "6": 1013663794, "7": 1013663794, "8": 1013780196, "9": 1013663794, "10": 1013663794, "11": 1013780196, "12": 1013663794, "13": 1013663794, "14": 1013780196, "15": 1013663794, "16": 1013780196, "17": 1013780196, "18":... | [] | ok | 105,425,569,392 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.309882 | 5.309882 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.279726 | false | false | false | 5.274342 | 0.104407 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993126 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.325758 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s330747727 | train | cpp | /*QAQ三连:以前的题都补了吗,今天的题都做了吗,不会的算法都会了吗*/
/*金桔退役三连:退役选手不学不会不练*/
#include <bits/stdc++.h>
#define LDQ 1000000007
#define QAQ 0x3f3f3f3f
#define PI 3.14159265358979323846
using namespace std;
int main()
{
int i;
char s[100001];
scanf("%s",s);
if(strlen(s)%2==0)
{
if(s[0]==s[strlen(s)... | {"0": 1014298428, "1": 1014377650, "2": 1014298428, "3": 1014298428, "4": 1014298428, "5": 1014298428, "6": 1014298428, "7": 1014298428, "8": 1014298428, "9": 1014298428, "10": 1014298428, "11": 1014298428, "12": 1014298428, "13": 1014298428, "14": 1014298428, "15": 1014298428, "16": 1014377650, "17": 1014298428, "18":... | [] | ok | 105,487,432,622 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.312998 | 5.312998 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.282824 | false | false | false | 5.280347 | 0.104526 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993136 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.328883 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s939508370 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
if(s[0] == s[s.size() - 1])
cout << (s.size() & 1 ? "Second" : "First");
else
cout << (s.size() & 1 ? "First" : "Second");
return 0;
} | {"0": 1023968946, "1": 1023941776, "2": 1023968946, "3": 1023941776, "4": 1023968946, "5": 1023941776, "6": 1023968946, "7": 1023968946, "8": 1023941776, "9": 1023968946, "10": 1023968946, "11": 1023941776, "12": 1023968946, "13": 1023968946, "14": 1023941776, "15": 1023968946, "16": 1023941776, "17": 1023941776, "18":... | [] | ok | 106,491,526,856 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.36357 | 5.36357 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.333109 | false | false | false | 5.333104 | 0.10557 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993219 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.379606 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s756423912 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int s1,s2,a;
char c[100010],c1,c2;
int main(){
scanf("%s",c+1);
a=strlen(c+1);
c1=c[1],c2=c[a];
if((c1==c2&&a%2==0)||c1!=c2&&a%2!=0) cout<<"First";
else cout<<"Second";
return 0;
} | {"0": 1008365644, "1": 1008365644, "2": 1008365644, "3": 1008365644, "4": 1008365644, "5": 1008365644, "6": 1008365644, "7": 1008365644, "8": 1008365644, "9": 1008365644, "10": 1008365644, "11": 1008365644, "12": 1008365644, "13": 1008365644, "14": 1008365644, "15": 1008365644, "16": 1008365644, "17": 1008365644, "18":... | [] | ok | 104,870,026,976 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.281901 | 5.281901 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.251904 | false | false | false | 5.284676 | 0.104611 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993143 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.297693 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s984887392 | train | cpp | #include <iostream>
using namespace std;
int main(){
string s;
cin >> s;
int ans = s.size()-2;
if(s[0]==s[s.size()-1]) ans-=1;
if(ans&1) cout << "First"; //长度为奇数
else cout << "Second";
} | {"0": 1015532232, "1": 1015498770, "2": 1015532232, "3": 1015522508, "4": 1015532232, "5": 1015522508, "6": 1015532232, "7": 1015532232, "8": 1015522508, "9": 1015532232, "10": 1015532232, "11": 1015522508, "12": 1015532232, "13": 1015532232, "14": 1015522508, "15": 1015532232, "16": 1015498770, "17": 1015522508, "18":... | [] | ok | 105,615,020,368 | s855027670 | #include<cstdio>
const int N=100001;
int main() {
int n=3;
char s[N];
scanf("%s",s);
while(s[n])n++;
printf((s[0]==s[n-1] ^ n&1)?"First":"Second");
return 0;
}
| {"0": 190914438, "1": 190899566, "2": 190914438, "3": 190907288, "4": 190914438, "5": 190907288, "6": 190914438, "7": 190914438, "8": 190907288, "9": 190914438, "10": 190914438, "11": 190907288, "12": 190914438, "13": 190914438, "14": 190907288, "15": 190914438, "16": 190899566, "17": 190907288, "18": 190907288, "19": ... | ok | 5.319424 | 5.319424 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.289214 | false | false | false | 5.330887 | 0.105526 | 0.019795 | 0.01921 | Accepted | Accepted | 0.01921 | 0.993216 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.335328 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s259930006 | train | cpp | #include<bits/stdc++.h>
#define LL long long
using namespace std;
const int maxn=1e5+10;
int n;
char a[maxn];
int main()
{
while(scanf("%s",a)!=EOF)
{
int ans=0;
int len=strlen(a);
for(int i=1; i<len-1; i++)
if(a[i-1]!=a[i+1])ans++;
if(ans==0)
{... | {"0": 1008783776, "1": 1007487052, "2": 1008783776, "3": 1008782060, "4": 1008783776, "5": 1008782060, "6": 1008783776, "7": 1008783776, "8": 1008782060, "9": 1008783776, "10": 1008783776, "11": 1008782060, "12": 1008783776, "13": 1008783776, "14": 1008863856, "15": 1008783776, "16": 1007487052, "17": 1008782060, "18":... | [] | ok | 104,907,371,998 | s396177244 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.29958 | 5.29958 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.253775 | false | false | false | 5.397978 | 0.104381 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998503 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.29958 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s502698315 | train | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
char s[100000];
cin>>s;
long long t=strlen(s);
if(s[0]==s[strlen(s)-1]){
if(t%2==1) cout<<"Second"<<endl;
else cout<<"First"<<endl;
}
else{
if(t%2==0) cout<<"Second"<<endl;
else cout<<"First"<<endl;
... | {"0": 1017918044, "1": 1017914612, "2": 1017918044, "3": 1017935204, "4": 1017918044, "5": 1017935204, "6": 1017918044, "7": 1017918044, "8": 1017935204, "9": 1017918044, "10": 1017918044, "11": 1017935204, "12": 1017918044, "13": 1017918044, "14": 1017935204, "15": 1017918044, "16": 1017914612, "17": 1017935204, "18":... | [] | ok | 105,863,546,360 | s527729294 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.347883 | 5.347883 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.30166 | false | false | false | 5.465097 | 0.105679 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998525 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.347883 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s402319938 | train | cpp | #include<bits/stdc++.h>
using namespace std;
char a[100001];
int main()
{
scanf("%s",a);
int lena=strlen(a);
if(a[0]==a[lena-1])
{
if((lena-2)%2==1)
printf("Second");
if((lena-2)%2==0)
printf("First");
}
else{
if((lena-2)%2==1)
printf("First");
if((lena-2)%2==0)
printf("Seco... | {"0": 1006839548, "1": 1006839548, "2": 1006839548, "3": 1006839548, "4": 1006839548, "5": 1006839548, "6": 1006839548, "7": 1006839548, "8": 1006839548, "9": 1006839548, "10": 1006839548, "11": 1006839548, "12": 1006839548, "13": 1006839548, "14": 1006839548, "15": 1006839548, "16": 1006839548, "17": 1006839548, "18":... | [] | ok | 104,711,312,992 | s527729294 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.289676 | 5.289676 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.243956 | false | false | false | 5.391023 | 0.104247 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.9985 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.289676 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s764404092 | train | cpp | /* _ _____ _
\`,"" ,'7"r-..__/ \
,'\ `, ,',',' _/ \
/ \ 7 / / ( \ |
J \/ j L______\ / |
L __JF"""/""\"\_, /
L,-"| O| f O | L_ _/
F \_ / \__/ `- j|
.-' `""" ,' | _..====... | {"0": 1023720698, "1": 1023724702, "2": 1023720698, "3": 1023704396, "4": 1023720698, "5": 1023704396, "6": 1023720698, "7": 1023720698, "8": 1023704396, "9": 1023720698, "10": 1023720698, "11": 1023704396, "12": 1023720698, "13": 1023720698, "14": 1023704396, "15": 1023720698, "16": 1023724702, "17": 1023704396, "18":... | [] | ok | 106,466,277,632 | s527729294 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.378331 | 5.378331 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.331845 | false | false | false | 5.461036 | 0.105601 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998524 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.378331 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s829415639 | train | cpp | #include<bits/stdc++.h>
using namespace std;
char a[100005];
int main()
{
scanf("%s",&a);
if(a[0]==a[strlen(a)-1]){
if(strlen(a)%2!=0){
printf("Second\n");
}
else{
printf("First\n");
}
}
else{
if(strlen(a)%2!=0){
printf("First\n");
}
else{
printf("Second\n");
}
}
... | {"0": 1006282134, "1": 1006282134, "2": 1006282134, "3": 1006282134, "4": 1006282134, "5": 1006282134, "6": 1006282134, "7": 1006282134, "8": 1006282134, "9": 1006282134, "10": 1006282134, "11": 1006282134, "12": 1006282134, "13": 1006282134, "14": 1006282134, "15": 1006282134, "16": 1006282134, "17": 1006282134, "18":... | [] | ok | 104,653,345,654 | s527729294 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.286747 | 5.286747 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.241053 | false | false | false | 5.385058 | 0.104131 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998498 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.286747 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s443240824 | train | cpp | #include <bits/stdc++.h>
using namespace std;
string s;
int main()
{
cin >> s;
int len = s.length();
if(len & 1)
{
if(s[0] == s[len - 1]) cout << "Second";
else cout << "First";
}
else
{
if(s[0] ^ s[len - 1]) cout << "Second";
else cout << "Fi... | {"0": 1016615028, "1": 1016614742, "2": 1016615028, "3": 1016614742, "4": 1016615028, "5": 1016614742, "6": 1016615028, "7": 1016615028, "8": 1016614742, "9": 1016615028, "10": 1016615028, "11": 1016614742, "12": 1016615028, "13": 1016615028, "14": 1016614742, "15": 1016615028, "16": 1016614742, "17": 1016614742, "18":... | [] | ok | 105,725,388,054 | s527729294 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.340904 | 5.340904 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.294741 | false | false | false | 5.423569 | 0.104876 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998511 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.340904 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s855894263 | train | cpp | #include <bits/stdc++.h>
using namespace std;
string a;
int main()
{
cin>>a;
int l=a.size();
if(a[0]==a[l-1])
if(l&1) printf("Second\n");
else printf("First\n");
else
if(l&1) printf("First\n");
else printf("Second\n");
return 0;
} | {"0": 1014087932, "1": 1014147420, "2": 1014087932, "3": 1014147420, "4": 1014087932, "5": 1014147420, "6": 1014087932, "7": 1014087932, "8": 1014147420, "9": 1014087932, "10": 1014087932, "11": 1014147420, "12": 1014087932, "13": 1014087932, "14": 1014147420, "15": 1014087932, "16": 1014147420, "17": 1014147420, "18":... | [] | ok | 105,467,372,868 | s527729294 | #include <cstdio>
#include <cstring>
char s[100003];
int main()
{
scanf("%s",s);
int l=strlen(s);
if((s[0]==s[l-1])!=(l%2==0)) puts("Second");
else puts("First");
} | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | ok | 5.327869 | 5.327869 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.28182 | false | false | false | 5.395565 | 0.104335 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998502 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.327869 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s799792455 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main() {
string s;
cin>>s;
if(s[0]==s[s.size()-1]) {
if(s.size()%2==0) {
cout<<"First"<<endl;
} else {
cout<<"Second"<<endl;
}
}
if(s[0]!=s[s.size()-1]) {
if(s.size()%2==1) {
cout<<"First"<<endl;
} else {
cout<<"Second"<<endl;
... | {"0": 1026450568, "1": 1026543804, "2": 1026450568, "3": 1026596714, "4": 1026450568, "5": 1026596714, "6": 1026450568, "7": 1026450568, "8": 1026596714, "9": 1026450568, "10": 1026450568, "11": 1026596714, "12": 1026450568, "13": 1026450568, "14": 1026596714, "15": 1026450568, "16": 1026543804, "17": 1026596714, "18":... | [] | ok | 106,756,161,798 | s585850103 | #include <cstdio>
#include <cstring>
int Len;
char s[ 100005 ];
int main() {
scanf ("%s", s);
Len = strlen(s);
printf ("%s\n", ((Len % 2 == 1) ^ (s[ 0 ] == s[ Len - 1 ])) ? "First" : "Second");
return 0;
} | {"0": 192310976, "1": 192318698, "2": 192310976, "3": 192333856, "4": 192310976, "5": 192333856, "6": 192310976, "7": 192310976, "8": 192333856, "9": 192310976, "10": 192310976, "11": 192333856, "12": 192310976, "13": 192310976, "14": 192333856, "15": 192310976, "16": 192318698, "17": 192333856, "18": 192318698, "19": ... | ok | 5.337395 | 5.337395 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.346362 | false | false | false | 5.388634 | 0.1058 | 0.019634 | 0.01921 | Accepted | Accepted | 0.01921 | 0.9951 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.392975 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s897098787 | train | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
using namespace std;
char s[100000+5];
int main()
{
scanf("%s",s+1);int len=strlen(s+1);
if(s[1]==s[len] && len%2==1) puts("Second");
else if(s[1]==s[len] && len%2==0) puts("First");
else if(s[1]!=s[len] && len%2==1) puts("First");
else if(s[1... | {"0": 1006002426, "1": 1006002426, "2": 1006002426, "3": 1005993560, "4": 1006002426, "5": 1005993560, "6": 1006002426, "7": 1006002426, "8": 1005993560, "9": 1006002426, "10": 1006002426, "11": 1005993560, "12": 1006002426, "13": 1006002426, "14": 1005993560, "15": 1006002426, "16": 1006002426, "17": 1005993560, "18":... | [] | ok | 104,623,950,860 | s585850103 | #include <cstdio>
#include <cstring>
int Len;
char s[ 100005 ];
int main() {
scanf ("%s", s);
Len = strlen(s);
printf ("%s\n", ((Len % 2 == 1) ^ (s[ 0 ] == s[ Len - 1 ])) ? "First" : "Second");
return 0;
} | {"0": 192310976, "1": 192318698, "2": 192310976, "3": 192333856, "4": 192310976, "5": 192333856, "6": 192310976, "7": 192310976, "8": 192333856, "9": 192310976, "10": 192310976, "11": 192333856, "12": 192310976, "13": 192310976, "14": 192333856, "15": 192310976, "16": 192318698, "17": 192333856, "18": 192318698, "19": ... | ok | 5.230793 | 5.230793 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.239581 | false | false | false | 5.307875 | 0.104214 | 0.019634 | 0.01921 | Accepted | Accepted | 0.01921 | 0.995009 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.285262 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s378795883 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string a;
cin>>a;
int k=a.length();
if(a[0]==a[k-1])
{
if(k%2==0)
{
cout<<"First"<<endl;
return 0;
}
else
{
cout<<"Second"<<endl;
return 0;
}
}
else
{
if(k%2==0)
{
cout<... | {"0": 1017940638, "1": 1018330742, "2": 1017940638, "3": 1017949790, "4": 1017940638, "5": 1017949790, "6": 1017940638, "7": 1017940638, "8": 1017949790, "9": 1017940638, "10": 1017940638, "11": 1017949790, "12": 1017940638, "13": 1017940638, "14": 1017949790, "15": 1017940638, "16": 1018330742, "17": 1017949790, "18":... | [] | ok | 105,867,244,340 | s585850103 | #include <cstdio>
#include <cstring>
int Len;
char s[ 100005 ];
int main() {
scanf ("%s", s);
Len = strlen(s);
printf ("%s\n", ((Len % 2 == 1) ^ (s[ 0 ] == s[ Len - 1 ])) ? "First" : "Second");
return 0;
} | {"0": 192310976, "1": 192318698, "2": 192310976, "3": 192333856, "4": 192310976, "5": 192333856, "6": 192310976, "7": 192310976, "8": 192333856, "9": 192310976, "10": 192310976, "11": 192333856, "12": 192310976, "13": 192310976, "14": 192333856, "15": 192310976, "16": 192318698, "17": 192333856, "18": 192318698, "19": ... | ok | 5.292953 | 5.292953 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.301845 | false | false | false | 5.391185 | 0.10585 | 0.019634 | 0.01921 | Accepted | Accepted | 0.01921 | 0.995103 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.34807 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s554847076 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
while(cin>>s)
{
cout << ( (s[0]==s[s.length()-1])^(s.length()%2)?"First":"Second") << endl;
}
return 0;
} | {"0": 1026607296, "1": 1026580412, "2": 1026607296, "3": 1026687662, "4": 1026607296, "5": 1026687662, "6": 1026607296, "7": 1026607296, "8": 1026687662, "9": 1026607296, "10": 1026607296, "11": 1026687662, "12": 1026607296, "13": 1026607296, "14": 1026687662, "15": 1026607296, "16": 1026580412, "17": 1026687662, "18":... | [] | ok | 106,768,982,892 | s893142819 | #include <cstdio>
char s[100005];
inline int getstring(char *_s){
int l=0;
for(char ch=getchar();ch!='\n';ch=getchar(),l++)
_s[l]=ch;
return l;
}
int main(){
int l=getstring(s);
printf("%s",(s[0]==s[l-1])^(l%2)?"First":"Second");
return 0;
} | {"0": 190763144, "1": 190763144, "2": 190763144, "3": 190755136, "4": 190763144, "5": 190755136, "6": 190763144, "7": 190763144, "8": 190755136, "9": 190763144, "10": 190763144, "11": 190755136, "12": 190763144, "13": 190763144, "14": 190755136, "15": 190763144, "16": 190763144, "17": 190755136, "18": 190763144, "19": ... | ok | 5.381743 | 5.381743 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.347004 | false | false | false | 5.510854 | 0.105861 | 0.01921 | 0.01921 | Accepted | Accepted | 0.01921 | 1 | 10 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.393623 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s144471721 | train | cpp | #include<string>
#include<iostream>
using namespace std;
string s;
int main(){
cin>>s;
if(s[0]==s[s.size()-1])
if(s.size()%2==1) cout<<"Second";
else cout<<"First";
else
if(s.size()%2==1) cout<<"First";
else cout<<"Second";
} | {"0": 1016528656, "1": 1016614742, "2": 1016528656, "3": 1016546960, "4": 1016528656, "5": 1016546960, "6": 1016528656, "7": 1016528656, "8": 1016546960, "9": 1016528656, "10": 1016528656, "11": 1016546960, "12": 1016528656, "13": 1016528656, "14": 1016546960, "15": 1016528656, "16": 1016614742, "17": 1016546960, "18":... | [] | ok | 105,719,648,606 | s893142819 | #include <cstdio>
char s[100005];
inline int getstring(char *_s){
int l=0;
for(char ch=getchar();ch!='\n';ch=getchar(),l++)
_s[l]=ch;
return l;
}
int main(){
int l=getstring(s);
printf("%s",(s[0]==s[l-1])^(l%2)?"First":"Second");
return 0;
} | {"0": 190763144, "1": 190763144, "2": 190763144, "3": 190755136, "4": 190763144, "5": 190755136, "6": 190763144, "7": 190763144, "8": 190755136, "9": 190763144, "10": 190763144, "11": 190755136, "12": 190763144, "13": 190763144, "14": 190755136, "15": 190763144, "16": 190763144, "17": 190755136, "18": 190763144, "19": ... | ok | 5.32885 | 5.32885 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.294454 | false | false | false | 5.45958 | 0.104876 | 0.01921 | 0.01921 | Accepted | Accepted | 0.01921 | 1 | 10 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.340614 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s005064222 | train | cpp | #include<bits/stdc++.h>
using namespace std;
char s[100001],ss[100001];
int main()
{
scanf("%s",s+1);
register int sum=0,ans=0,l=strlen(s+1);
while(1)
{
for(register int i=2;i<l;++i)
{
if(s[i]!='\0')
{
register int x=i-1;
while(s[x]=='\0')
--x;
if(s[x]!=s[i+1])
s... | {"0": 1006721144, "1": 1006721144, "2": 1006721144, "3": 1006725720, "4": 1006721144, "5": 1006725720, "6": 1006721144, "7": 1006721144, "8": 1006721144, "9": 1006721144, "10": 1006721144, "11": 1006868434, "12": 1006721144, "13": 1006721144, "14": 1006721144, "15": 1006721144, "16": 1006721144, "17": 1006721144, "18":... | [] | ok | 104,699,226,632 | s893142819 | #include <cstdio>
char s[100005];
inline int getstring(char *_s){
int l=0;
for(char ch=getchar();ch!='\n';ch=getchar(),l++)
_s[l]=ch;
return l;
}
int main(){
int l=getstring(s);
printf("%s",(s[0]==s[l-1])^(l%2)?"First":"Second");
return 0;
} | {"0": 190763144, "1": 190763144, "2": 190763144, "3": 190755136, "4": 190763144, "5": 190755136, "6": 190763144, "7": 190763144, "8": 190755136, "9": 190763144, "10": 190763144, "11": 190755136, "12": 190763144, "13": 190763144, "14": 190755136, "15": 190763144, "16": 190763144, "17": 190755136, "18": 190763144, "19": ... | ok | 5.277416 | 5.277416 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.243351 | false | false | false | 5.432437 | 0.104355 | 0.01921 | 0.01921 | Accepted | Accepted | 0.01921 | 1 | 10 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.289065 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s954635156 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int s1,s2,a;
char c[100010],c1,c2;
int main(){
scanf("%s",c+1);
a=strlen(c+1);
c1=c[1],c2=c[a];
if((c1==c2&&a%2==0)||c1!=c2&&a%2!=0) cout<<"First";
else cout<<"Second";
return 0;
} | {"0": 1008365644, "1": 1008365644, "2": 1008365644, "3": 1008365644, "4": 1008365644, "5": 1008365644, "6": 1008365644, "7": 1008365644, "8": 1008365644, "9": 1008365644, "10": 1008365644, "11": 1008365644, "12": 1008365644, "13": 1008365644, "14": 1008365644, "15": 1008365644, "16": 1008365644, "17": 1008365644, "18":... | [] | ok | 104,870,026,976 | s893142819 | #include <cstdio>
char s[100005];
inline int getstring(char *_s){
int l=0;
for(char ch=getchar();ch!='\n';ch=getchar(),l++)
_s[l]=ch;
return l;
}
int main(){
int l=getstring(s);
printf("%s",(s[0]==s[l-1])^(l%2)?"First":"Second");
return 0;
} | {"0": 190763144, "1": 190763144, "2": 190763144, "3": 190755136, "4": 190763144, "5": 190755136, "6": 190763144, "7": 190763144, "8": 190755136, "9": 190763144, "10": 190763144, "11": 190755136, "12": 190763144, "13": 190763144, "14": 190755136, "15": 190763144, "16": 190763144, "17": 190755136, "18": 190763144, "19": ... | ok | 5.286025 | 5.286025 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.251904 | false | false | false | 5.445781 | 0.104611 | 0.01921 | 0.01921 | Accepted | Accepted | 0.01921 | 1 | 10 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.297693 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s696140457 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main(){
string d;
cin>>d;
int tot=0;
int g=0;
int l=d.size();
if(d[0]==d[l-1])
{
if(l%2==0)
cout<<"First";
else cout<<"Second";
}
else{
if(l%2==1)cout<<"First";
else cout<<"Second";
}
return 0;
} | {"0": 1023744436, "1": 1023866844, "2": 1023744436, "3": 1023869990, "4": 1023744436, "5": 1023869990, "6": 1023744436, "7": 1023744436, "8": 1023869990, "9": 1023744436, "10": 1023744436, "11": 1023869990, "12": 1023744436, "13": 1023744436, "14": 1023869990, "15": 1023744436, "16": 1023866844, "17": 1023869990, "18":... | [] | ok | 106,473,988,764 | s893142819 | #include <cstdio>
char s[100005];
inline int getstring(char *_s){
int l=0;
for(char ch=getchar();ch!='\n';ch=getchar(),l++)
_s[l]=ch;
return l;
}
int main(){
int l=getstring(s);
printf("%s",(s[0]==s[l-1])^(l%2)?"First":"Second");
return 0;
} | {"0": 190763144, "1": 190763144, "2": 190763144, "3": 190755136, "4": 190763144, "5": 190755136, "6": 190763144, "7": 190763144, "8": 190755136, "9": 190763144, "10": 190763144, "11": 190755136, "12": 190763144, "13": 190763144, "14": 190755136, "15": 190763144, "16": 190763144, "17": 190755136, "18": 190763144, "19": ... | ok | 5.366873 | 5.366873 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.332231 | false | false | false | 5.498122 | 0.105617 | 0.01921 | 0.01921 | Accepted | Accepted | 0.01921 | 1 | 10 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.37872 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s062093237 | train | cpp | #include<cstdio>
#include<string>
#include<iostream>
#include<algorithm>
#include<cmath>
#include<vector>
#define inf 99999999
using namespace std;
typedef double db;
typedef long long ll;
string s;
int main()
{
cin>>s;
if(s[0]==s[s.size()-1])
if(s.size()&1)
cout<<"Second"<<endl;
else
cout... | {"0": 1018554966, "1": 1018546386, "2": 1018554966, "3": 1018561830, "4": 1018554966, "5": 1018561830, "6": 1018554966, "7": 1018554966, "8": 1018561830, "9": 1018554966, "10": 1018554966, "11": 1018561830, "12": 1018554966, "13": 1018554966, "14": 1018561830, "15": 1018554966, "16": 1018546386, "17": 1018561830, "18":... | [] | ok | 105,930,302,192 | s683945935 | #include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
int n;
char a[100005];
scanf("%s",a+1);
n=strlen(a+1);
if((a[1]==a[n]&&n%2==1)||(a[1]!=a[n]&&n%2!=1))printf("Second\n");
else printf("First\n");
return 0;
}
| {"0": 199291950, "1": 199267354, "2": 199291950, "3": 199284228, "4": 199291950, "5": 199284228, "6": 199291950, "7": 199291950, "8": 199284228, "9": 199291950, "10": 199291950, "11": 199284228, "12": 199291950, "13": 199291950, "14": 199284228, "15": 199291950, "16": 199267354, "17": 199284228, "18": 199276792, "19": ... | ok | 5.111081 | 5.111081 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.305003 | false | false | false | 5.29596 | 0.105148 | 0.019854 | 0.01921 | Accepted | Accepted | 0.01921 | 0.992497 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.351255 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s095505190 | train | cpp | #include<iostream>
#include<string>
using namespace std;
int main()
{
string s;
cin>>s;
int l=s.length();
if(s[0]==s[l-1])
{
if(l%2==0)
{
cout<<"First";
return 0;
}
else
{
cout<<"Second";
return 0;
}
... | {"0": 1023677512, "1": 1023704396, "2": 1023677512, "3": 1023708686, "4": 1023677512, "5": 1023708686, "6": 1023677512, "7": 1023677512, "8": 1023708686, "9": 1023677512, "10": 1023677512, "11": 1023708686, "12": 1023677512, "13": 1023677512, "14": 1023708686, "15": 1023677512, "16": 1023704396, "17": 1023708686, "18":... | [] | ok | 106,463,986,200 | s683945935 | #include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
int n;
char a[100005];
scanf("%s",a+1);
n=strlen(a+1);
if((a[1]==a[n]&&n%2==1)||(a[1]!=a[n]&&n%2!=1))printf("Second\n");
else printf("First\n");
return 0;
}
| {"0": 199291950, "1": 199267354, "2": 199291950, "3": 199284228, "4": 199291950, "5": 199284228, "6": 199291950, "7": 199291950, "8": 199284228, "9": 199291950, "10": 199291950, "11": 199284228, "12": 199291950, "13": 199291950, "14": 199284228, "15": 199291950, "16": 199267354, "17": 199284228, "18": 199276792, "19": ... | ok | 5.136831 | 5.136831 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.33173 | false | false | false | 5.31872 | 0.1056 | 0.019854 | 0.01921 | Accepted | Accepted | 0.01921 | 0.992536 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.378215 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s114454195 | train | cpp | #include<bits/stdc++.h>
using namespace std;
string a;
int b;
int main()
{
cin>>a;
b=a.size();
if(a[0]==a[b-1])
{
if(b%2==0)
{
cout<<"First"<<endl;
return 0;
}
else
{
cout<<"Second"<<endl;
return 0;
}
}
else
{
if(b%2==0){
cout<<"Second"<<endl;
return 0;
}
else
{
cout<<"First"<<endl;
return... | {"0": 1018390802, "1": 1018685382, "2": 1018390802, "3": 1018516642, "4": 1018390802, "5": 1018516642, "6": 1018390802, "7": 1018390802, "8": 1018516642, "9": 1018390802, "10": 1018390802, "11": 1018516642, "12": 1018390802, "13": 1018390802, "14": 1018516642, "15": 1018390802, "16": 1018685382, "17": 1018516642, "18":... | [] | ok | 105,920,668,854 | s683945935 | #include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
int n;
char a[100005];
scanf("%s",a+1);
n=strlen(a+1);
if((a[1]==a[n]&&n%2==1)||(a[1]!=a[n]&&n%2!=1))printf("Second\n");
else printf("First\n");
return 0;
}
| {"0": 199291950, "1": 199267354, "2": 199291950, "3": 199284228, "4": 199291950, "5": 199284228, "6": 199291950, "7": 199291950, "8": 199284228, "9": 199291950, "10": 199291950, "11": 199284228, "12": 199291950, "13": 199291950, "14": 199284228, "15": 199291950, "16": 199267354, "17": 199284228, "18": 199276792, "19": ... | ok | 5.110616 | 5.110616 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.304521 | false | false | false | 5.297393 | 0.105177 | 0.019854 | 0.01921 | Accepted | Accepted | 0.01921 | 0.992499 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.350768 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s724273828 | train | cpp | #include <bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin>>s;
return 0&(int)printf("%s",((s[0]==s[s.length()-1])^(s.length()%2))?"First":"Second");
} | {"0": 1014398242, "1": 1014471172, "2": 1014398242, "3": 1014471172, "4": 1014398242, "5": 1014471172, "6": 1014398242, "7": 1014398242, "8": 1014471172, "9": 1014398242, "10": 1014398242, "11": 1014471172, "12": 1014398242, "13": 1014398242, "14": 1014471172, "15": 1014398242, "16": 1014471172, "17": 1014471172, "18":... | [] | ok | 105,498,522,844 | s683945935 | #include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
int n;
char a[100005];
scanf("%s",a+1);
n=strlen(a+1);
if((a[1]==a[n]&&n%2==1)||(a[1]!=a[n]&&n%2!=1))printf("Second\n");
else printf("First\n");
return 0;
}
| {"0": 199291950, "1": 199267354, "2": 199291950, "3": 199284228, "4": 199291950, "5": 199284228, "6": 199291950, "7": 199291950, "8": 199284228, "9": 199291950, "10": 199291950, "11": 199284228, "12": 199291950, "13": 199291950, "14": 199284228, "15": 199291950, "16": 199267354, "17": 199284228, "18": 199276792, "19": ... | ok | 5.090248 | 5.090248 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.28338 | false | false | false | 5.305054 | 0.105329 | 0.019854 | 0.01921 | Accepted | Accepted | 0.01921 | 0.992512 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.329443 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s823557054 | train | cpp | #include "cstdio"
#include "string"
#include "iostream"
using namespace std;
int main(){
string s;
cin>>s;
int x=s.size();
if(s[0]==s[x-1]){
if(x%2==0){
printf("First\n");return 0;
}
else{
printf("Second\n");return 0;
}
}
else{
if(x%2==0){
printf("Second\n");return 0;
}
... | {"0": 1013703834, "1": 1013703834, "2": 1013703834, "3": 1013755028, "4": 1013703834, "5": 1013755028, "6": 1013703834, "7": 1013703834, "8": 1013755028, "9": 1013703834, "10": 1013703834, "11": 1013755028, "12": 1013703834, "13": 1013703834, "14": 1013755028, "15": 1013703834, "16": 1013703834, "17": 1013755028, "18":... | [] | ok | 105,425,214,466 | s683945935 | #include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
int n;
char a[100005];
scanf("%s",a+1);
n=strlen(a+1);
if((a[1]==a[n]&&n%2==1)||(a[1]!=a[n]&&n%2!=1))printf("Second\n");
else printf("First\n");
return 0;
}
| {"0": 199291950, "1": 199267354, "2": 199291950, "3": 199284228, "4": 199291950, "5": 199284228, "6": 199291950, "7": 199291950, "8": 199284228, "9": 199291950, "10": 199291950, "11": 199284228, "12": 199291950, "13": 199291950, "14": 199284228, "15": 199291950, "16": 199267354, "17": 199284228, "18": 199276792, "19": ... | ok | 5.086711 | 5.086711 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.279708 | false | false | false | 5.296044 | 0.10515 | 0.019854 | 0.01921 | Accepted | Accepted | 0.01921 | 0.992497 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.32574 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s026618601 | train | cpp | #include <iostream>
#include <cstring>
using namespace std;
string s;
int main()
{
cin >> s;
if (s[0] == s[s.length() - 1] && s.length() % 2) cout << "Second" << endl;
else if (s[0] == s[s.length() - 1] || s.length() % 2) cout << "First" << endl;
else cout << "Second" << endl;
return 0;
} | {"0": 1018160858, "1": 1018564976, "2": 1018160858, "3": 1018183166, "4": 1018160858, "5": 1018183166, "6": 1018160858, "7": 1018160858, "8": 1018183166, "9": 1018160858, "10": 1018160858, "11": 1018183166, "12": 1018160858, "13": 1018160858, "14": 1018183166, "15": 1018160858, "16": 1018564976, "17": 1018183166, "18":... | [] | ok | 105,891,544,044 | s683945935 | #include<algorithm>
#include<cstring>
#include<stdio.h>
using namespace std;
int main(){
int n;
char a[100005];
scanf("%s",a+1);
n=strlen(a+1);
if((a[1]==a[n]&&n%2==1)||(a[1]!=a[n]&&n%2!=1))printf("Second\n");
else printf("First\n");
return 0;
}
| {"0": 199291950, "1": 199267354, "2": 199291950, "3": 199284228, "4": 199291950, "5": 199284228, "6": 199291950, "7": 199291950, "8": 199284228, "9": 199291950, "10": 199291950, "11": 199284228, "12": 199291950, "13": 199291950, "14": 199284228, "15": 199291950, "16": 199267354, "17": 199284228, "18": 199276792, "19": ... | ok | 5.109211 | 5.109211 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.303062 | false | false | false | 5.29571 | 0.105143 | 0.019854 | 0.01921 | Accepted | Accepted | 0.01921 | 0.992496 | 7 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.349297 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s818428260 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin>>s;
if(s[0]==s[s.length()-1])
{
if(s.length()%2==1) cout <<"Second\n";
else cout <<"First\n";
}
else
{
if(s.length()%2==0) cout <<"Second\n";
else cout <<"First\n";
}
} | {"0": 1023707828, "1": 1023712690, "2": 1023707828, "3": 1023715836, "4": 1023707828, "5": 1023715836, "6": 1023707828, "7": 1023707828, "8": 1023715836, "9": 1023707828, "10": 1023707828, "11": 1023715836, "12": 1023707828, "13": 1023707828, "14": 1023715836, "15": 1023707828, "16": 1023712690, "17": 1023715836, "18":... | [] | ok | 106,465,925,280 | s224974544 | #include <cstdio>
#include <cstring>
char s[100005];
int len;
int main(){
scanf("%s", s), len = strlen(s);
if (s[0] == s[len - 1]) puts(len & 1 ? "Second" : "First");
else puts(len & 1 ? "First" : "Second");
} | {"0": 190530626, "1": 190530626, "2": 190530626, "3": 190523476, "4": 190530626, "5": 190523476, "6": 190530626, "7": 190530626, "8": 190523476, "9": 190530626, "10": 190530626, "11": 190523476, "12": 190530626, "13": 190530626, "14": 190523476, "15": 190530626, "16": 190530626, "17": 190523476, "18": 190523190, "19": ... | ok | 5.373069 | 5.373069 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.331827 | false | false | false | 5.451322 | 0.105599 | 0.019371 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998129 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.378313 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s853001306 | train | cpp | #include <bits/stdc++.h>
#define LL long long
using namespace std;
const int N=1e5+10;
int len,Cnt;
char a[N];
int main ()
{
scanf ("%s", a+1);
len=strlen (a+1);
for (int i=1;i<=len>>1;++i)
if (a[i]!=a[len-i+1]) Cnt++;
if (Cnt==0) {
puts ("Second");
return 0;
}
a[1]==a[len]? (len & 1?pu... | {"0": 1005808232, "1": 1005940364, "2": 1005808232, "3": 1005811378, "4": 1005808232, "5": 1005811378, "6": 1005808232, "7": 1005808232, "8": 1005811378, "9": 1005808232, "10": 1005808232, "11": 1005811378, "12": 1005808232, "13": 1005808232, "14": 1005811378, "15": 1005808232, "16": 1005940364, "17": 1005811378, "18":... | [] | ok | 104,606,403,044 | s224974544 | #include <cstdio>
#include <cstring>
char s[100005];
int len;
int main(){
scanf("%s", s), len = strlen(s);
if (s[0] == s[len - 1]) puts(len & 1 ? "Second" : "First");
else puts(len & 1 ? "First" : "Second");
} | {"0": 190530626, "1": 190530626, "2": 190530626, "3": 190523476, "4": 190530626, "5": 190523476, "6": 190530626, "7": 190530626, "8": 190523476, "9": 190530626, "10": 190530626, "11": 190523476, "12": 190530626, "13": 190530626, "14": 190523476, "15": 190530626, "16": 190530626, "17": 190523476, "18": 190523190, "19": ... | ok | 5.279223 | 5.279223 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.238702 | false | false | false | 5.377326 | 0.104165 | 0.019371 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998097 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.284376 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s890641583 | train | cpp | #include<iostream>
#include<cstring>
using namespace std;
string s;
int l;
int main()
{
cin>>s;
l=s.size();
if(s[0]==s[l-1])
{
if(l%2==0) cout<<"First";
else cout<<"Second";
return 0;
}
else
{
if(l%2==0) cout<<"Second";
else cout<<"First";
return 0;
}
} | {"0": 1016169154, "1": 1016169154, "2": 1016169154, "3": 1016169154, "4": 1016169154, "5": 1016169154, "6": 1016169154, "7": 1016169154, "8": 1016169154, "9": 1016169154, "10": 1016169154, "11": 1016169154, "12": 1016169154, "13": 1016169154, "14": 1016169154, "15": 1016169154, "16": 1016169154, "17": 1016169154, "18":... | [] | ok | 105,681,688,112 | s224974544 | #include <cstdio>
#include <cstring>
char s[100005];
int len;
int main(){
scanf("%s", s), len = strlen(s);
if (s[0] == s[len - 1]) puts(len & 1 ? "Second" : "First");
else puts(len & 1 ? "First" : "Second");
} | {"0": 190530626, "1": 190530626, "2": 190530626, "3": 190523476, "4": 190530626, "5": 190523476, "6": 190530626, "7": 190530626, "8": 190523476, "9": 190530626, "10": 190530626, "11": 190523476, "12": 190530626, "13": 190530626, "14": 190523476, "15": 190530626, "16": 190530626, "17": 190523476, "18": 190523190, "19": ... | ok | 5.33349 | 5.33349 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.292552 | false | false | false | 5.407532 | 0.10475 | 0.019371 | 0.01921 | Accepted | Accepted | 0.01921 | 0.99811 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.338696 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s501273540 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int l,sum=0;
const int maxn=1e5+10;
char t[maxn];
int main()
{
while(scanf("%s",t)!=EOF)
{
l=strlen(t);
for(int i=1;i<l-1;i++)
if(t[i-1]!=t[i+1]) sum++;
if(sum==0)
{
printf("Second\n");
continue;
}
if(t[0]!=t[l-1])
{
... | {"0": 1008718568, "1": 1007513650, "2": 1008718568, "3": 1008786922, "4": 1008718568, "5": 1008786922, "6": 1008718568, "7": 1008718568, "8": 1008786922, "9": 1008718568, "10": 1008718568, "11": 1008707986, "12": 1008718568, "13": 1008718568, "14": 1008790068, "15": 1008718568, "16": 1007513650, "17": 1008786922, "18":... | [] | ok | 104,903,865,638 | s224974544 | #include <cstdio>
#include <cstring>
char s[100005];
int len;
int main(){
scanf("%s", s), len = strlen(s);
if (s[0] == s[len - 1]) puts(len & 1 ? "Second" : "First");
else puts(len & 1 ? "First" : "Second");
} | {"0": 190530626, "1": 190530626, "2": 190530626, "3": 190523476, "4": 190530626, "5": 190523476, "6": 190530626, "7": 190530626, "8": 190523476, "9": 190530626, "10": 190530626, "11": 190523476, "12": 190530626, "13": 190530626, "14": 190523476, "15": 190530626, "16": 190530626, "17": 190523476, "18": 190523190, "19": ... | ok | 5.294236 | 5.294236 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.253599 | false | false | false | 5.384797 | 0.10431 | 0.019371 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998101 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.299403 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s769738933 | train | cpp | #include <bits/stdc++.h>
using namespace std;
char s[1000001];
long long a=0,b=0;
int main()
{
cin>>s;
a=strlen(s)-2;
for (int i=0,j=strlen(s)-1;i<j;i++,j--)
{
if (s[i]==s[j])
b++;
}
if (b==(a+2)/2)
cout<<"Second"<<endl;
else
{
if (s[0]==s[strlen(... | {"0": 1018783194, "1": 1018703972, "2": 1018783194, "3": 1018746586, "4": 1018783194, "5": 1018746586, "6": 1018783194, "7": 1018783194, "8": 1018746586, "9": 1018783194, "10": 1018783194, "11": 1018746586, "12": 1018783194, "13": 1018783194, "14": 1018746586, "15": 1018783194, "16": 1018703972, "17": 1018746586, "18":... | [] | ok | 105,951,268,566 | s224974544 | #include <cstdio>
#include <cstring>
char s[100005];
int len;
int main(){
scanf("%s", s), len = strlen(s);
if (s[0] == s[len - 1]) puts(len & 1 ? "Second" : "First");
else puts(len & 1 ? "First" : "Second");
} | {"0": 190530626, "1": 190530626, "2": 190530626, "3": 190523476, "4": 190530626, "5": 190523476, "6": 190530626, "7": 190530626, "8": 190523476, "9": 190530626, "10": 190530626, "11": 190523476, "12": 190530626, "13": 190530626, "14": 190523476, "15": 190530626, "16": 190530626, "17": 190523476, "18": 190523190, "19": ... | ok | 5.347095 | 5.347095 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.306053 | false | false | false | 5.430362 | 0.105193 | 0.019371 | 0.01921 | Accepted | Accepted | 0.01921 | 0.99812 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.352314 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s384763155 | train | cpp | #include<iostream>
#include<cstring>
using namespace std;
int main()
{
//freopen("xx.in","r",stdin);
string s;
cin>>s;
int len=s.length();
if(s[0]^s[len-1])
{
if(len&1) cout<<"First"<<endl;
else cout<<"Second"<<endl;
}
else
{
if(len&1) cout<<"Second"<<endl;
else cout<<"First"<<endl;
... | {"0": 1017945500, "1": 1018365062, "2": 1017945500, "3": 1018340180, "4": 1017945500, "5": 1018340180, "6": 1017945500, "7": 1017945500, "8": 1018340180, "9": 1017945500, "10": 1017945500, "11": 1018340180, "12": 1017945500, "13": 1017945500, "14": 1018340180, "15": 1017945500, "16": 1018365062, "17": 1018340180, "18":... | [] | ok | 105,881,990,786 | s142385828 | #include<cstdio>
#include<cstring>
#include<queue>
#include<cmath>
using namespace std;
char s[100001];
int main()
{
scanf("%s",s);
int len=strlen(s);
if(s[0]==s[len-1])
{
if(len%2==1)
printf("Second");
else
printf("First");
}
else
{
if(len%... | {"0": 190795748, "1": 190808332, "2": 190795748, "3": 190808332, "4": 190795748, "5": 190808332, "6": 190795748, "7": 190795748, "8": 190808332, "9": 190795748, "10": 190795748, "11": 190808332, "12": 190795748, "13": 190795748, "14": 190808332, "15": 190795748, "16": 190808332, "17": 190808332, "18": 190807474, "19": ... | ok | 5.33587 | 5.33587 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.302584 | false | false | false | 5.465612 | 0.10585 | 0.019367 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998189 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.348815 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s829420297 | train | cpp | #include<iostream>
#include<iomanip>
#include<cstring>
#include<cstdio>
#include<cmath>
#include<algorithm>
#include<set>
using namespace std;
string s;
int main() {
cin>>s;
int n=s.length();
s=' '+s;
if(s[1]==s[n]){
if(n%2==1)puts("Second");
else puts("First");
}
else {
... | {"0": 1023309144, "1": 1023315722, "2": 1023309144, "3": 1023316866, "4": 1023309144, "5": 1023316866, "6": 1023309144, "7": 1023309144, "8": 1023316866, "9": 1023309144, "10": 1023309144, "11": 1023316866, "12": 1023309144, "13": 1023309144, "14": 1023316866, "15": 1023309144, "16": 1023315722, "17": 1023316866, "18":... | [] | ok | 106,424,456,138 | s142385828 | #include<cstdio>
#include<cstring>
#include<queue>
#include<cmath>
using namespace std;
char s[100001];
int main()
{
scanf("%s",s);
int len=strlen(s);
if(s[0]==s[len-1])
{
if(len%2==1)
printf("Second");
else
printf("First");
}
else
{
if(len%... | {"0": 190795748, "1": 190808332, "2": 190795748, "3": 190808332, "4": 190795748, "5": 190808332, "6": 190795748, "7": 190795748, "8": 190808332, "9": 190795748, "10": 190795748, "11": 190808332, "12": 190795748, "13": 190795748, "14": 190808332, "15": 190795748, "16": 190808332, "17": 190808332, "18": 190807474, "19": ... | ok | 5.363207 | 5.363207 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.32975 | false | false | false | 5.455684 | 0.105658 | 0.019367 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998185 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.376218 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s875996785 | train | cpp | #include<iostream>
using namespace std;
string s;
int main()
{
cin>>s;
int l=s.length();
if(s[0]==s[l-1])
{
if(l%2==0) cout<<"First"<<endl;
else cout<<"Second"<<endl;
}
else
{
if(l%2==0) cout<<"Second"<<endl;
else cout<<"First"<<endl;
}
return 0;
} | {"0": 1018402242, "1": 1018523220, "2": 1018402242, "3": 1018387084, "4": 1018402242, "5": 1018387084, "6": 1018402242, "7": 1018402242, "8": 1018387084, "9": 1018402242, "10": 1018402242, "11": 1018387084, "12": 1018402242, "13": 1018402242, "14": 1018387084, "15": 1018402242, "16": 1018523220, "17": 1018387084, "18":... | [] | ok | 105,913,521,428 | s142385828 | #include<cstdio>
#include<cstring>
#include<queue>
#include<cmath>
using namespace std;
char s[100001];
int main()
{
scanf("%s",s);
int len=strlen(s);
if(s[0]==s[len-1])
{
if(len%2==1)
printf("Second");
else
printf("First");
}
else
{
if(len%... | {"0": 190795748, "1": 190808332, "2": 190795748, "3": 190808332, "4": 190795748, "5": 190808332, "6": 190795748, "7": 190795748, "8": 190808332, "9": 190795748, "10": 190795748, "11": 190808332, "12": 190795748, "13": 190795748, "14": 190808332, "15": 190795748, "16": 190808332, "17": 190808332, "18": 190807474, "19": ... | ok | 5.337459 | 5.337459 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.304163 | false | false | false | 5.430817 | 0.105176 | 0.019367 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998174 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.350407 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s672436946 | train | cpp | #include<bits/stdc++.h>
using namespace std;
string s;
int main()
{
cin>>s;
if(s[0]==s[s.size()-1]){
if(s.size()%2==0){
cout<<"First"<<endl;
}
else{
cout<<"Second"<<endl;
}
}
else{
if(s.size()%2!=0){
cout<<"First"<<endl;
}
else{
cout<<"Second"<<endl;
}
}
return 0;... | {"0": 1018554966, "1": 1018546386, "2": 1018554966, "3": 1018561830, "4": 1018554966, "5": 1018561830, "6": 1018554966, "7": 1018554966, "8": 1018561830, "9": 1018554966, "10": 1018554966, "11": 1018561830, "12": 1018554966, "13": 1018554966, "14": 1018561830, "15": 1018554966, "16": 1018546386, "17": 1018561830, "18":... | [] | ok | 105,930,302,192 | s142385828 | #include<cstdio>
#include<cstring>
#include<queue>
#include<cmath>
using namespace std;
char s[100001];
int main()
{
scanf("%s",s);
int len=strlen(s);
if(s[0]==s[len-1])
{
if(len%2==1)
printf("Second");
else
printf("First");
}
else
{
if(len%... | {"0": 190795748, "1": 190808332, "2": 190795748, "3": 190808332, "4": 190795748, "5": 190808332, "6": 190795748, "7": 190795748, "8": 190808332, "9": 190795748, "10": 190795748, "11": 190808332, "12": 190795748, "13": 190795748, "14": 190808332, "15": 190795748, "16": 190808332, "17": 190808332, "18": 190807474, "19": ... | ok | 5.338304 | 5.338304 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.305003 | false | false | false | 5.429378 | 0.105148 | 0.019367 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998174 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.351255 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s631021076 | train | cpp | #include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <iostream>
#include <algorithm>
#include <set>
#include <queue>
using namespace std;
char s[100005];
int main(){
int n,i,j,k,o,p,l;
scanf("%s",s+1);
n=strlen(s+1);
int ok=1;
for(i=3;i<=n;i++)
if(s[i]!=s[i-2]){ok=0;break;}
if(ok==... | {"0": 1006699694, "1": 1006691972, "2": 1006699694, "3": 1006708846, "4": 1006699694, "5": 1006708846, "6": 1006699694, "7": 1006699694, "8": 1006708846, "9": 1006699694, "10": 1006699694, "11": 1006691972, "12": 1006699694, "13": 1006699694, "14": 1006708846, "15": 1006699694, "16": 1006691972, "17": 1006708846, "18":... | [] | ok | 104,697,021,000 | s142385828 | #include<cstdio>
#include<cstring>
#include<queue>
#include<cmath>
using namespace std;
char s[100001];
int main()
{
scanf("%s",s);
int len=strlen(s);
if(s[0]==s[len-1])
{
if(len%2==1)
printf("Second");
else
printf("First");
}
else
{
if(len%... | {"0": 190795748, "1": 190808332, "2": 190795748, "3": 190808332, "4": 190795748, "5": 190808332, "6": 190795748, "7": 190795748, "8": 190808332, "9": 190795748, "10": 190795748, "11": 190808332, "12": 190795748, "13": 190795748, "14": 190808332, "15": 190795748, "16": 190808332, "17": 190808332, "18": 190807474, "19": ... | ok | 5.276154 | 5.276154 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.24324 | false | false | false | 5.380264 | 0.104197 | 0.019367 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998153 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.288954 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s979458294 | train | cpp | #include<bits/stdc++.h>
using namespace std;
string s;
int main(){
cin>>s;int l=s.size();
if(s[0]==s[l-1]) if(l&1) puts("Second");else puts("First");
else if(!(l&1)) puts("Second");else puts("First");
return 0;
} | {"0": 1005320602, "1": 1005406974, "2": 1005320602, "3": 1005471324, "4": 1005320602, "5": 1005471324, "6": 1005320602, "7": 1005320602, "8": 1005471324, "9": 1005320602, "10": 1005320602, "11": 1005471324, "12": 1005320602, "13": 1005320602, "14": 1005471324, "15": 1005320602, "16": 1005406974, "17": 1005471324, "18":... | [] | ok | 104,558,780,612 | s142385828 | #include<cstdio>
#include<cstring>
#include<queue>
#include<cmath>
using namespace std;
char s[100001];
int main()
{
scanf("%s",s);
int len=strlen(s);
if(s[0]==s[len-1])
{
if(len%2==1)
printf("Second");
else
printf("First");
}
else
{
if(len%... | {"0": 190795748, "1": 190808332, "2": 190795748, "3": 190808332, "4": 190795748, "5": 190808332, "6": 190795748, "7": 190795748, "8": 190808332, "9": 190795748, "10": 190795748, "11": 190808332, "12": 190795748, "13": 190795748, "14": 190808332, "15": 190795748, "16": 190808332, "17": 190808332, "18": 190807474, "19": ... | ok | 5.269187 | 5.269187 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.236317 | false | false | false | 5.390484 | 0.104395 | 0.019367 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998158 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.28197 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s928331936 | train | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <cmath>
#include <algorithm>
#include <map>
using namespace std;
char str[110000];
int main()
{
cin>>str;
int flag = 1;
int len;
len = strlen(str);
for(int i = 0;i < len - 2;i++)
{
if(str[i] != str[i+2])
{
flag = 0;
... | {"0": 1017812796, "1": 1017911752, "2": 1017812796, "3": 1018322448, "4": 1017812796, "5": 1018322448, "6": 1017812796, "7": 1017812796, "8": 1018322448, "9": 1017812796, "10": 1017812796, "11": 1018292990, "12": 1017812796, "13": 1017812796, "14": 1018322448, "15": 1017812796, "16": 1017911752, "17": 1018322448, "18":... | [] | ok | 105,871,311,546 | s732319115 | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
const int N = 1e5 + 10;
char s[N];
int main()
{
scanf("%s",s);
int len = strlen(s);
int cnt = len - 2;
if (s[0] == s[len - 1])
{
if (cnt % 2) puts("Second");
else puts("First");
}
else
{
if (cnt % 2 == 0) ... | {"0": 190341008, "1": 190358454, "2": 190341008, "3": 190348444, "4": 190341008, "5": 190348444, "6": 190341008, "7": 190341008, "8": 190348444, "9": 190341008, "10": 190341008, "11": 190348444, "12": 190341008, "13": 190341008, "14": 190348444, "15": 190341008, "16": 190358454, "17": 190348444, "18": 190348444, "19": ... | ok | 5.348072 | 5.348072 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.302049 | false | false | false | 5.431204 | 0.105024 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998513 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.348275 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s683720191 | train | cpp | #include <bits/stdc++.h>
using namespace std;
int main () {
char str[100005];
scanf("%s", str);
int len=strlen(str);
if(str[0]==str[len-1]) {
if(len&1) puts("Second");
else puts("First");
} else {
if(len&1) puts("First");
else puts("Second");
}
... | {"0": 1005962958, "1": 1006017298, "2": 1005962958, "3": 1006003284, "4": 1005962958, "5": 1006003284, "6": 1005962958, "7": 1005962958, "8": 1006003284, "9": 1005962958, "10": 1005962958, "11": 1006003284, "12": 1005962958, "13": 1005962958, "14": 1006003284, "15": 1005962958, "16": 1006017298, "17": 1006003284, "18":... | [] | ok | 104,621,804,144 | s732319115 | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
const int N = 1e5 + 10;
char s[N];
int main()
{
scanf("%s",s);
int len = strlen(s);
int cnt = len - 2;
if (s[0] == s[len - 1])
{
if (cnt % 2) puts("Second");
else puts("First");
}
else
{
if (cnt % 2 == 0) ... | {"0": 190341008, "1": 190358454, "2": 190341008, "3": 190348444, "4": 190341008, "5": 190348444, "6": 190341008, "7": 190341008, "8": 190348444, "9": 190341008, "10": 190341008, "11": 190348444, "12": 190341008, "13": 190341008, "14": 190348444, "15": 190341008, "16": 190358454, "17": 190348444, "18": 190348444, "19": ... | ok | 5.284953 | 5.284953 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.239473 | false | false | false | 5.390313 | 0.104233 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.9985 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.285154 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s720138857 | train | cpp | #include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>
#define ms(x) memset(x, 0, sizeof(x))
#define inf 0x3f3f3f3f
using namespace std;
int main()
{
char s[123456];
int cnt[27], book[27];
while(scanf("%s",s)!=EOF){
ms(cnt);
int len = strlen(s), s1 = 0, s2... | {"0": 1014823810, "1": 1014942214, "2": 1014823810, "3": 1014823810, "4": 1014823810, "5": 1014823810, "6": 1014823810, "7": 1014823810, "8": 1014823810, "9": 1014823810, "10": 1014823810, "11": 1014823810, "12": 1014823810, "13": 1014823810, "14": 1014823810, "15": 1014823810, "16": 1014942214, "17": 1014823810, "18":... | [] | ok | 105,541,415,980 | s732319115 | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
const int N = 1e5 + 10;
char s[N];
int main()
{
scanf("%s",s);
int len = strlen(s);
int cnt = len - 2;
if (s[0] == s[len - 1])
{
if (cnt % 2) puts("Second");
else puts("First");
}
else
{
if (cnt % 2 == 0) ... | {"0": 190341008, "1": 190358454, "2": 190341008, "3": 190348444, "4": 190341008, "5": 190348444, "6": 190341008, "7": 190341008, "8": 190348444, "9": 190341008, "10": 190341008, "11": 190348444, "12": 190341008, "13": 190341008, "14": 190348444, "15": 190341008, "16": 190358454, "17": 190348444, "18": 190348444, "19": ... | ok | 5.331407 | 5.331407 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.285528 | false | false | false | 5.407919 | 0.104574 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998506 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.33161 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s610887648 | train | cpp | #include<bits/stdc++.h>
using namespace std;
int main()
{
string s;
cin>>s;
int len = s.length();
if(s[0] == s[len-1])
if(len&1)printf("Second\n");
else printf("First\n");
else
if(len&1)printf("First\n");
else printf("Second\n");
} | {"0": 1013740442, "1": 1013722138, "2": 1013740442, "3": 1013724426, "4": 1013740442, "5": 1013724426, "6": 1013740442, "7": 1013740442, "8": 1013724426, "9": 1013740442, "10": 1013740442, "11": 1013724426, "12": 1013740442, "13": 1013740442, "14": 1013724426, "15": 1013740442, "16": 1013722138, "17": 1013724426, "18":... | [] | ok | 105,426,185,150 | s732319115 | #include <stdio.h>
#include <string.h>
#include <algorithm>
using namespace std;
const int N = 1e5 + 10;
char s[N];
int main()
{
scanf("%s",s);
int len = strlen(s);
int cnt = len - 2;
if (s[0] == s[len - 1])
{
if (cnt % 2) puts("Second");
else puts("First");
}
else
{
if (cnt % 2 == 0) ... | {"0": 190341008, "1": 190358454, "2": 190341008, "3": 190348444, "4": 190341008, "5": 190348444, "6": 190341008, "7": 190341008, "8": 190348444, "9": 190341008, "10": 190341008, "11": 190348444, "12": 190341008, "13": 190341008, "14": 190348444, "15": 190341008, "16": 190358454, "17": 190348444, "18": 190348444, "19": ... | ok | 5.325586 | 5.325586 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.279757 | false | false | false | 5.437614 | 0.105148 | 0.019337 | 0.01921 | Accepted | Accepted | 0.01921 | 0.998516 | 9 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.325789 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s319293863 | train | cpp | #include<iostream>//打表做法,危险动作,请勿效仿
#include<cstdio>
#include<cstring>
using namespace std;
char s[1000005];
bool bo;
long long ji;
int main(){
scanf("%s",&s);
long long len=strlen(s);
for(long long i=0;i<len-1;i++){
if(s[i]!=s[i+1])bo=1;
}
if(bo=1){
if(s[0]!=s[len-1])
ji=len-2;
else ji=le... | {"0": 1008833540, "1": 1008817810, "2": 1008833540, "3": 1008817238, "4": 1008833540, "5": 1008817238, "6": 1008833540, "7": 1008833540, "8": 1008817238, "9": 1008833540, "10": 1008833540, "11": 1008817238, "12": 1008833540, "13": 1008833540, "14": 1008817238, "15": 1008833540, "16": 1008817810, "17": 1008817238, "18":... | [] | ok | 104,918,037,224 | s365369775 | #include<cstdio>
#include<cstring>
using namespace std;
char s[1000005];
bool bo;
long long ji;
int main(){
scanf("%s",&s);
long long len=strlen(s);
for(long long i=0;i<len-1;i++)
{
if(s[i]!=s[i+1])
bo=1;
}
if(bo==1)
{
if(s[0]!=s[len-1])
ji=len-2;
else ji=len-3;
}
else ji=... | {"0": 191032842, "1": 191032842, "2": 191032842, "3": 191049144, "4": 191032842, "5": 191049144, "6": 191032842, "7": 191032842, "8": 191049144, "9": 191032842, "10": 191032842, "11": 191049144, "12": 191032842, "13": 191032842, "14": 191049144, "15": 191032842, "16": 191114924, "17": 191049144, "18": 191049144, "19": ... | ok | 5.280567 | 5.280567 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.254309 | false | false | false | 5.379169 | 0.104353 | 0.019399 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997771 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.300119 | null | null | null | null | null | null | null | null | null | null | null |
p03863 | s521531600 | train | cpp | #include <bits/stdc++.h>
using namespace std;
char s[1000001];
long long a=0,b=0;
int main()
{
cin>>s;
a=strlen(s);
for (int i=0,j=strlen(s)-1;i<j;i++,j--)
{
if (s[i]==s[j])
b++;
}
if (b==(a+2)/2)
cout<<"Second";
else
{
if (s[0]==s[strlen(s)-1])
{
a=a-1;
if (a%2==0)
cout<<"Seco... | {"0": 1008413692, "1": 1008417410, "2": 1008413692, "3": 1008429994, "4": 1008413692, "5": 1008429994, "6": 1008413692, "7": 1008413692, "8": 1008429994, "9": 1008413692, "10": 1008413692, "11": 1008429994, "12": 1008413692, "13": 1008413692, "14": 1008429994, "15": 1008413692, "16": 1008417410, "17": 1008429994, "18":... | [] | ok | 104,875,453,826 | s365369775 | #include<cstdio>
#include<cstring>
using namespace std;
char s[1000005];
bool bo;
long long ji;
int main(){
scanf("%s",&s);
long long len=strlen(s);
for(long long i=0;i<len-1;i++)
{
if(s[i]!=s[i+1])
bo=1;
}
if(bo==1)
{
if(s[0]!=s[len-1])
ji=len-2;
else ji=len-3;
}
else ji=... | {"0": 191032842, "1": 191032842, "2": 191032842, "3": 191049144, "4": 191032842, "5": 191049144, "6": 191032842, "7": 191032842, "8": 191049144, "9": 191032842, "10": 191032842, "11": 191049144, "12": 191032842, "13": 191032842, "14": 191049144, "15": 191032842, "16": 191114924, "17": 191049144, "18": 191049144, "19": ... | ok | 5.278424 | 5.278424 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.252176 | false | false | false | 5.40252 | 0.104806 | 0.019399 | 0.01921 | Accepted | Accepted | 0.01921 | 0.997782 | 8 | s396177244 | {"0": 190333572, "1": 190333572, "2": 190333572, "3": 190348444, "4": 190333572, "5": 190348444, "6": 190333572, "7": 190333572, "8": 190348444, "9": 190333572, "10": 190333572, "11": 190348444, "12": 190333572, "13": 190333572, "14": 190348444, "15": 190333572, "16": 190333572, "17": 190348444, "18": 190348444, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,795,412,494 | 5.297968 | null | null | null | null | null | null | null | null | null | null | null |
p00202 | s359576039 | train | cpp | #include<iostream>
#include<algorithm>
using namespace std;
bool dp[1000001];
bool isprime(int& x){
for(int i = 2 ; i * i <= x ; i++ ) if( x % i == 0) return true;
return false;
}
int solve(int i){
while(true){ if(dp[i] && !isprime(i)) return i; i--; }
}
int main(){
int n,x,data[30],ans;
while(ci... | {"0": 4626342006, "1": 3734846544, "2": 4628686920, "3": 3722304300, "4": 3735085354, "5": 3719289288, "6": 3703313614, "7": 4507211852, "8": 3833671270, "9": 2453108086, "10": 3747718546, "11": 2453272250, "12": 4488244332, "13": 4772138800, "14": 4772172262, "15": 4775833634, "16": 4014727002, "17": 6372945150, "18":... | [] | ok | 416,851,490,198 | s363437573 | #include<iostream>
#include<algorithm>
using namespace std;
bool dp[1000001];
bool isprime(int& x){
for(int i = 2 ; i * i <= x ; i++ ) if( x % i == 0) return true;
return x == 1;
}
int solve(int i){
while(true){
if(dp[i] && !isprime(i)) return i;
i--;
}
}
int main(){
int n,x,data,ans;
... | {"0": 2695572880, "1": 2052328564, "2": 2697165328, "3": 2033183152, "4": 2049096764, "5": 2037105928, "6": 2018022292, "7": 2607901296, "8": 3099839600, "9": 1140725300, "10": 2077268908, "11": 1140069788, "12": 2591508920, "13": 2797458950, "14": 2794594374, "15": 2796784848, "16": 2246946702, "17": 3927165814, "18":... | ok | 1.742554 | 1.742554 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 21.285309 | false | false | false | 1.815536 | 0.221771 | 0.122152 | 0.122152 | Accepted | Accepted | 0.122152 | 1 | 10 | s363437573 | {"0": 2695572880, "1": 2052328564, "2": 2697165328, "3": 2033183152, "4": 2049096764, "5": 2037105928, "6": 2018022292, "7": 2607901296, "8": 3099839600, "9": 1140725300, "10": 2077268908, "11": 1140069788, "12": 2591508920, "13": 2797458950, "14": 2794594374, "15": 2796784848, "16": 2246946702, "17": 3927165814, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 239,218,709,158 | 1.742554 | null | null | null | null | null | null | null | null | null | null | null |
p00202 | s740775836 | train | cpp | #include<iostream>
#include<algorithm>
using namespace std;
bool dp[1000001];
bool isprime(int& x){
for(int i = 2 ; i * i <= x ; i++ ) if( x % i == 0) return true;
return x == 1;
}
int solve(int i){
while(true){ if(dp[i] && !isprime(i)) return i; i--; }
}
int main(){
int n,x,data[30],ans; dp[0] = tr... | {"0": 3583818524, "1": 2589242084, "2": 3583809944, "3": 2567189482, "4": 2581761182, "5": 2574217360, "6": 2547333360, "7": 3461796910, "8": 2712358506, "9": 1173885570, "10": 2593842680, "11": 1174244500, "12": 3429116834, "13": 3744843674, "14": 3745036438, "15": 3749001256, "16": 2887655342, "17": 5492425510, "18":... | [] | ok | 303,750,604,300 | s363437573 | #include<iostream>
#include<algorithm>
using namespace std;
bool dp[1000001];
bool isprime(int& x){
for(int i = 2 ; i * i <= x ; i++ ) if( x % i == 0) return true;
return x == 1;
}
int solve(int i){
while(true){
if(dp[i] && !isprime(i)) return i;
i--;
}
}
int main(){
int n,x,data,ans;
... | {"0": 2695572880, "1": 2052328564, "2": 2697165328, "3": 2033183152, "4": 2049096764, "5": 2037105928, "6": 2018022292, "7": 2607901296, "8": 3099839600, "9": 1140725300, "10": 2077268908, "11": 1140069788, "12": 2591508920, "13": 2797458950, "14": 2794594374, "15": 2796784848, "16": 2246946702, "17": 3927165814, "18":... | ok | 1.269761 | 1.269761 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 102 | 102 | 102 | 102 | 0 | 15.510141 | false | false | false | 1.248429 | 0.152498 | 0.122152 | 0.122152 | Accepted | Accepted | 0.122152 | 1 | 10 | s363437573 | {"0": 2695572880, "1": 2052328564, "2": 2697165328, "3": 2033183152, "4": 2049096764, "5": 2037105928, "6": 2018022292, "7": 2607901296, "8": 3099839600, "9": 1140725300, "10": 2077268908, "11": 1140069788, "12": 2591508920, "13": 2797458950, "14": 2794594374, "15": 2796784848, "16": 2246946702, "17": 3927165814, "18":... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 239,218,709,158 | 1.269761 | null | null | null | null | null | null | null | null | null | null | null |
p03962 | s095068036 | train | cpp | #include <cstdio>
#include <iostream>
#include <algorithm>
using namespace std;
int an[105];
int ans,a,b,c;
int main()
{
cin >> a >> b >> c;
an[a]++;
an[b]++;
an[c]++;
for(int i = 0; i < 105; i++){
ans = max(ans,an[i]);
}
cout << (3-ans+1) << endl;
return 0;
} | {"0": 1022628464, "1": 1022628464, "2": 1022428264, "3": 1022433126, "4": 1023152702, "5": 1023204182, "6": 1023140976, "7": 1023204182, "8": 1023140976, "9": 1023677798, "10": 1023152702, "11": 1023677798, "12": 1023152702, "13": 1023854832, "14": 1023299420, "15": 1023854832, "16": 1023299420, "17": 1023285978, "18":... | [] | ok | 105,365,092,118 | s916020747 | #include<cstdio>
int main(){
int a,b,c;
scanf("%d %d %d",&a,&b,&c);
if(a != b && b != c && a != c) printf("3\n");
else if(a == b && b == c) printf("1\n");
else printf("2\n");
return 0;
}
| {"0": 192084464, "1": 192097048, "2": 192087896, "3": 192094188, "4": 192260926, "5": 192437102, "6": 192260926, "7": 192437102, "8": 192260926, "9": 192260926, "10": 192360168, "11": 192260926, "12": 192360168, "13": 192242908, "14": 192322130, "15": 192242908, "16": 192322130, "17": 192242908, "18": 192322130, "19": ... | ok | 5.322105 | 5.32211 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 103 | 102 | 102 | 103 | 1 | 5.327927 | false | false | false | 5.369631 | 0.104536 | 0.019468 | 0.019464 | Accepted | Accepted | 0.019464 | 0.999956 | 10 | s916020747 | {"0": 192084464, "1": 192097048, "2": 192087896, "3": 192094188, "4": 192260926, "5": 192437102, "6": 192260926, "7": 192437102, "8": 192260926, "9": 192260926, "10": 192360168, "11": 192260926, "12": 192360168, "13": 192242908, "14": 192322130, "15": 192242908, "16": 192322130, "17": 192242908, "18": 192322130, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,605,363,206 | 5.322105 | null | null | null | null | null | null | null | null | null | null | null |
p03962 | s321890373 | train | cpp |
#include<bits/stdc++.h>
#define lln long long int
#define llu unsigned lln
#define sc(n) scanf("%d",&n);
#define scl(n) scanf("%lld",&n);
#define scd(n) scanf("%lf",&n);
#define pf(res) printf("%d\n",res);
#define pfl(res) printf("%lld\n",res);
#define pfd(res) printf("%lf\n",res);
#define maxii 200005
usin... | {"0": 6625512608, "1": 6626458410, "2": 6629428806, "3": 6626895418, "4": 6625321560, "5": 6625165118, "6": 6625141094, "7": 6625165118, "8": 6625141094, "9": 6628170978, "10": 6628642878, "11": 6628170978, "12": 6628642878, "13": 6628500450, "14": 6629232038, "15": 6628500450, "16": 6629232038, "17": 6628500450, "18":... | [] | ok | 682,620,219,138 | s042018570 | #include <iostream>
#include <bits/c++io.h>
#include <algorithm>
#include <iomanip>
#include <math.h>
using namespace std;
int main()
{
int x,y,z,n=1;
cin>>x>>y>>z;
if(x!=y&&x!=z&&z!=y)
cout<<"3"<<endl;
else if(x==y&&x==z&&z==y)
cout<<"1"<<endl;
else
cout<<"2"<<endl;
return 0;
}
| {"0": 1020434558, "1": 1020767176, "2": 1020654206, "3": 1020527508, "4": 1020887296, "5": 1021233356, "6": 1020887296, "7": 1021233356, "8": 1020887296, "9": 1021704970, "10": 1020887296, "11": 1021704970, "12": 1020887296, "13": 1021702968, "14": 1021434700, "15": 1021702968, "16": 1021434700, "17": 1021702968, "18":... | ok | 6.49148 | 6.491438 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 103 | 102 | 102 | 103 | 0 | 34.517608 | false | false | false | 6.528672 | 0.681875 | 0.104443 | 0.019464 | Accepted | Accepted | 0.019464 | 0.871713 | 5 | s916020747 | {"0": 192084464, "1": 192097048, "2": 192087896, "3": 192094188, "4": 192260926, "5": 192437102, "6": 192260926, "7": 192437102, "8": 192260926, "9": 192260926, "10": 192360168, "11": 192260926, "12": 192360168, "13": 192242908, "14": 192322130, "15": 192242908, "16": 192322130, "17": 192242908, "18": 192322130, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,605,363,206 | 34.479964 | null | null | null | null | null | null | null | null | null | null | null |
p03962 | s746855822 | train | cpp | #include<iostream>
#include<set>
using namespace std;
int main()
{
set<int> s;
int a;
for(int i=0;i<3;i++)
{
cin>>a;
s.insert(a);
}
cout<<s.size()<<endl;
return 0;
}
| {"0": 1023947496, "1": 1024414248, "2": 1023865986, "3": 1023938344, "4": 1024666214, "5": 1024544664, "6": 1024530364, "7": 1024544664, "8": 1024530364, "9": 1025152414, "10": 1024641332, "11": 1025152414, "12": 1024641332, "13": 1025197602, "14": 1025160994, "15": 1025197602, "16": 1025160994, "17": 1025197602, "18":... | [] | ok | 105,545,565,840 | s907073448 | #include<stdio.h>
int main()
{
int a[3]={0};
int i,j,x;
int k=0;
for(i=0;i<3;i++)
{
scanf("%d",&x);
a[i]=x;
}
for(i=0;i<2;i++)
{
for(j=i+1;j<3;j++)
{
if(a[0]==a[1]&&a[1]==a[2])
k=1;
else if(a[i]!=a[j])
k++;
}
}
printf("%d\n",k);
return 0;
} | {"0": 195135512, "1": 195214448, "2": 195135512, "3": 195214448, "4": 195454116, "5": 195454116, "6": 195454116, "7": 195454116, "8": 195454116, "9": 195378612, "10": 195454116, "11": 195378612, "12": 195454116, "13": 195378612, "14": 195378612, "15": 195378612, "16": 195378612, "17": 195378612, "18": 195378612, "19": ... | ok | 5.246637 | 5.246628 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 103 | 102 | 102 | 103 | 0 | 5.337053 | false | false | false | 5.358985 | 0.105494 | 0.019685 | 0.019464 | Accepted | Accepted | 0.019464 | 0.997431 | 8 | s916020747 | {"0": 192084464, "1": 192097048, "2": 192087896, "3": 192094188, "4": 192260926, "5": 192437102, "6": 192260926, "7": 192437102, "8": 192260926, "9": 192260926, "10": 192360168, "11": 192260926, "12": 192360168, "13": 192242908, "14": 192322130, "15": 192242908, "16": 192322130, "17": 192242908, "18": 192322130, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,605,363,206 | 5.331209 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s826422317 | train | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;
typedef long long ll;
const ll mod=998244353;
ll n,m,ny[1100000],jc[1100000];
ll c(ll n,ll m)
{
return (ll)jc[n]*ny[m]%mod*ny[n-m]%mod;
}
int main()
{
cin>>n>>m;
if(n<=m)swap(n,m);
jc[0]=jc[1]... | {"0": 1022280402, "1": 1022427692, "2": 1024299562, "3": 1022427692, "4": 1023030008, "5": 1022139404, "6": 1022427692, "7": 1024403094, "8": 1022645624, "9": 1022939346, "10": 1025006268, "11": 1022645624, "12": 1023166716, "13": 1022427692, "14": 1025247938, "15": 1022877284, "16": 1023302852, "17": 1022427692, "18":... | [] | ok | 108,476,523,870 | s120156111 | #include <cstdio>
const int N=1000005,Mod=998244353;
int fac[N],inv[N];
inline int qpow(int a,int b){
int ans=1;
while (b){
if (b&1) ans=(1ll*ans*a)%Mod;
a=(1ll*a*a)%Mod,b>>=1;
}
return ans;
}
inline int Min(int a,int b){
return a<b?a:b;
}
inline int Max(int a,int b){
return a>b?a:b;
}
inline... | {"0": 195987220, "1": 195987220, "2": 196572376, "3": 196172834, "4": 196242332, "5": 195856518, "6": 196180270, "7": 196695928, "8": 196172834, "9": 196088178, "10": 196786590, "11": 196180270, "12": 196304108, "13": 196195428, "14": 196572376, "15": 196088178, "16": 196304108, "17": 196103336, "18": 196080742, "19": ... | ok | 5.211715 | 5.211782 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.330018 | false | false | false | 5.249892 | 0.106531 | 0.020292 | 0.020158 | Accepted | Accepted | 0.020158 | 0.998447 | 9 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.229726 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s070094663 | train | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
using namespace std;
typedef long long ll;
const ll mod=998244353;
ll n,m,ny[1100000],jc[1100000];
ll c(ll n,ll m)
{
return (ll)jc[n]*ny[m]%mod*ny[n-m]%mod;
}
int main()
{
cin>>n>>m;
if(n<=m)swap(n,m);
jc[0]=jc[1]... | {"0": 1022280402, "1": 1022427692, "2": 1024299562, "3": 1022427692, "4": 1023030008, "5": 1022139404, "6": 1022427692, "7": 1024403094, "8": 1022645624, "9": 1022939346, "10": 1025006268, "11": 1022645624, "12": 1023166716, "13": 1022427692, "14": 1025247938, "15": 1022877284, "16": 1023302852, "17": 1022427692, "18":... | [] | ok | 108,476,523,870 | s120156111 | #include <cstdio>
const int N=1000005,Mod=998244353;
int fac[N],inv[N];
inline int qpow(int a,int b){
int ans=1;
while (b){
if (b&1) ans=(1ll*ans*a)%Mod;
a=(1ll*a*a)%Mod,b>>=1;
}
return ans;
}
inline int Min(int a,int b){
return a<b?a:b;
}
inline int Max(int a,int b){
return a>b?a:b;
}
inline... | {"0": 195987220, "1": 195987220, "2": 196572376, "3": 196172834, "4": 196242332, "5": 195856518, "6": 196180270, "7": 196695928, "8": 196172834, "9": 196088178, "10": 196786590, "11": 196180270, "12": 196304108, "13": 196195428, "14": 196572376, "15": 196088178, "16": 196304108, "17": 196103336, "18": 196080742, "19": ... | ok | 5.211715 | 5.211782 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.330018 | false | false | false | 5.249892 | 0.106531 | 0.020292 | 0.020158 | Accepted | Accepted | 0.020158 | 0.998447 | 9 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.229726 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s455857546 | train | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
const int N=1000005;
const int MOD=998244353;
typedef long long LL;
int n,m,fac[N],inv[N];
int Ans1,Ans2;
//LL gcd(LL x,LL y) {
// if(!y) return x;
// return gcd(y,x%y);
//}
//
//struct Data{
// LL x,y;
// ... | {"0": 1011806796, "1": 1011794784, "2": 1012727716, "3": 1011812516, "4": 1011833680, "5": 1011476466, "6": 1011857132, "7": 1012832106, "8": 1011840544, "9": 1011861708, "10": 1012967384, "11": 1011837112, "12": 1011837112, "13": 1011848552, "14": 1012891880, "15": 1011830534, "16": 1011855416, "17": 1011781914, "18":... | [] | ok | 107,290,333,436 | s120156111 | #include <cstdio>
const int N=1000005,Mod=998244353;
int fac[N],inv[N];
inline int qpow(int a,int b){
int ans=1;
while (b){
if (b&1) ans=(1ll*ans*a)%Mod;
a=(1ll*a*a)%Mod,b>>=1;
}
return ans;
}
inline int Min(int a,int b){
return a<b?a:b;
}
inline int Max(int a,int b){
return a>b?a:b;
}
inline... | {"0": 195987220, "1": 195987220, "2": 196572376, "3": 196172834, "4": 196242332, "5": 195856518, "6": 196180270, "7": 196695928, "8": 196172834, "9": 196088178, "10": 196786590, "11": 196180270, "12": 196304108, "13": 196195428, "14": 196572376, "15": 196088178, "16": 196304108, "17": 196103336, "18": 196080742, "19": ... | ok | 5.1547 | 5.154791 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.271734 | false | false | false | 5.213955 | 0.105802 | 0.020292 | 0.020158 | Accepted | Accepted | 0.020158 | 0.998434 | 9 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.172514 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s070485775 | train | cpp | #include<bits/stdc++.h>
#define N 1000005
#define p 998244353
#define int long long
using namespace std;
inline void rd(int &x){
x=0;char ch=0;int w=0;
while(!isdigit(ch)) ch=getchar(),w|=ch=='-';
while( isdigit(ch)) x=(x<<1)+(x<<3)+(ch^48),ch=getchar();
x=w?-x:x;
}
int n,m,ans;
int f[N],inv[N];
... | {"0": 1021366060, "1": 1021617168, "2": 1033426680, "3": 1022127392, "4": 1024711116, "5": 1020873282, "6": 1021624890, "7": 1034943910, "8": 1022738574, "9": 1023929192, "10": 1040841802, "11": 1023676654, "12": 1025179870, "13": 1021860268, "14": 1040581828, "15": 1023929192, "16": 1025636326, "17": 1021932626, "18":... | [] | ok | 108,932,085,262 | s248967314 | #include<cstdio>
const int mod=998244353,N=1000005;
int fexp(int a,int b)
{
int x=1;
for(;b;b>>=1,a=1LL*a*a%mod)
if(b&1)x=1LL*x*a%mod;
return x;
}
int n,m,ans,fac[N],ifac[N];
int main()
{
scanf("%d%d",&n,&m);
n+=m;
fac[0]=1;
for(int i=1; i<=n; ++i)fac[i]=1LL*i*fac[i-1]%mod;
ifac[n]=fex... | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | ok | 5.25196 | 5.251768 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.352402 | false | false | false | 5.310466 | 0.107048 | 0.020158 | 0.020158 | Accepted | Accepted | 0.020158 | 1 | 10 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.25196 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s903601200 | train | cpp | #include<iostream>
#include<cstdio>
#include<cstring>
#include<cmath>
using namespace std;
const int N=1000005;
const int MOD=998244353;
typedef long long LL;
int n,m,fac[N],inv[N];
int Ans1,Ans2;
//LL gcd(LL x,LL y) {
// if(!y) return x;
// return gcd(y,x%y);
//}
//
//struct Data{
// LL x,y;
// ... | {"0": 1011806796, "1": 1011794784, "2": 1012727716, "3": 1011812516, "4": 1011833680, "5": 1011476466, "6": 1011857132, "7": 1012832106, "8": 1011840544, "9": 1011861708, "10": 1012967384, "11": 1011837112, "12": 1011837112, "13": 1011848552, "14": 1012891880, "15": 1011830534, "16": 1011855416, "17": 1011781914, "18":... | [] | ok | 107,290,333,436 | s248967314 | #include<cstdio>
const int mod=998244353,N=1000005;
int fexp(int a,int b)
{
int x=1;
for(;b;b>>=1,a=1LL*a*a%mod)
if(b&1)x=1LL*x*a%mod;
return x;
}
int n,m,ans,fac[N],ifac[N];
int main()
{
scanf("%d%d",&n,&m);
n+=m;
fac[0]=1;
for(int i=1; i<=n; ++i)fac[i]=1LL*i*fac[i-1]%mod;
ifac[n]=fex... | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | ok | 5.172514 | 5.172617 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.271734 | false | false | false | 5.248646 | 0.105802 | 0.020158 | 0.020158 | Accepted | Accepted | 0.020158 | 1 | 10 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.172514 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s432977743 | train | cpp | #pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
using namespace std;
#define rep(i_, s_, t_) for (ll i_ = (s_); i_ <= (t_); ++i_)
#define re(i_, s_, t_) for (ll i_ = (s_); i_ < (t_); ++i_)
#define per(i_, s_, t_) for (ll i_ = (s_); i_ >= (t_); --i_)
typedef long long ll;
const ll P = 998244353, N = 1e6 + ... | {"0": 1011007426, "1": 1010972820, "2": 1014020436, "3": 1012741730, "4": 1016172014, "5": 1010789208, "6": 1012847550, "7": 1014020436, "8": 1012741730, "9": 1016172014, "10": 1014020436, "11": 1012846120, "12": 1019798494, "13": 1012846120, "14": 1011582000, "15": 1013779338, "16": 1021380074, "17": 1011102378, "18":... | [] | ok | 107,687,328,606 | s248967314 | #include<cstdio>
const int mod=998244353,N=1000005;
int fexp(int a,int b)
{
int x=1;
for(;b;b>>=1,a=1LL*a*a%mod)
if(b&1)x=1LL*x*a%mod;
return x;
}
int n,m,ans,fac[N],ifac[N];
int main()
{
scanf("%d%d",&n,&m);
n+=m;
fac[0]=1;
for(int i=1; i<=n; ++i)fac[i]=1LL*i*fac[i-1]%mod;
ifac[n]=fex... | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | ok | 5.191869 | 5.191757 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.291241 | false | false | false | 5.277704 | 0.106388 | 0.020158 | 0.020158 | Accepted | Accepted | 0.020158 | 1 | 10 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.191869 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s414448216 | train | cpp | #include<iostream>
#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<algorithm>
#include<vector>
#include<set>
#include<map>
#include<unordered_map>
using namespace std;
#define ri register int
#define il inline
#define pb emplace_back
#define solid const auto &
#define enter ... | {"0": 1012186890, "1": 1012586432, "2": 1013365782, "3": 1013014574, "4": 1013016576, "5": 1012586432, "6": 1013014574, "7": 1013497914, "8": 1013014574, "9": 1013014574, "10": 1013613744, "11": 1013014574, "12": 1013156716, "13": 1013014574, "14": 1013365782, "15": 1013014002, "16": 1013214202, "17": 1012586432, "18":... | [] | ok | 107,392,438,010 | s248967314 | #include<cstdio>
const int mod=998244353,N=1000005;
int fexp(int a,int b)
{
int x=1;
for(;b;b>>=1,a=1LL*a*a%mod)
if(b&1)x=1LL*x*a%mod;
return x;
}
int n,m,ans,fac[N],ifac[N];
int main()
{
scanf("%d%d",&n,&m);
n+=m;
fac[0]=1;
for(int i=1; i<=n; ++i)fac[i]=1LL*i*fac[i-1]%mod;
ifac[n]=fex... | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | ok | 5.17743 | 5.17754 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.276751 | false | false | false | 5.215268 | 0.105129 | 0.020158 | 0.020158 | Accepted | Accepted | 0.020158 | 1 | 10 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.17743 | null | null | null | null | null | null | null | null | null | null | null |
p03622 | s225737297 | train | cpp | #include<iostream>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<cstring>
using namespace std;
#define MAXN 1000000
#define MOD 998244353
#define LL long long
int n,m;
int inv[MAXN+5],fac[MAXN+5];
int ans;
int fst_pow(int a,int b)
{
int res=1;
while(b)
{
if(b&1)res=(1LL*res*a)%MOD;... | {"0": 1011033166, "1": 1011009142, "2": 1011729004, "3": 1011285418, "4": 1011435282, "5": 1010883302, "6": 1011303150, "7": 1011736726, "8": 1011284846, "9": 1011356918, "10": 1011721282, "11": 1011276838, "12": 1011422984, "13": 1011288564, "14": 1011747022, "15": 1011306296, "16": 1011405824, "17": 1011155860, "18":... | [] | ok | 107,219,682,570 | s457687797 | #include<cstdio>
#include<algorithm>
using namespace std;
typedef long long ll;
const int N=1000005,md=998244353;
int n,m,ans;
int nyc[N],fac[N],facn[N];
inline int exgcd(int a,int b,int &x,int &y)
{
if(b==0)
{
x=1;
y=0;
return a;
}
int t=exgcd(b,a%b,y,x);
y-=a/b*x;
return t;
}
inline int... | {"0": 195468130, "1": 195468130, "2": 197580812, "3": 195986362, "4": 196381614, "5": 195392626, "6": 195907712, "7": 197666040, "8": 196036126, "9": 196186848, "10": 198098758, "11": 196104766, "12": 196434524, "13": 195907712, "14": 197899130, "15": 196104766, "16": 196586390, "17": 195729248, "18": 196186848, "19": ... | ok | 5.143561 | 5.143843 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 106 | 105 | 105 | 106 | 0 | 5.268263 | false | false | false | 5.224707 | 0.10579 | 0.020248 | 0.020158 | Accepted | Accepted | 0.020158 | 0.998949 | 9 | s248967314 | {"0": 195318838, "1": 195326560, "2": 195893698, "3": 195454116, "4": 195564226, "5": 195135512, "6": 195454116, "7": 195893698, "8": 195454116, "9": 195454116, "10": 196235468, "11": 195454116, "12": 195653458, "13": 195454116, "14": 196022112, "15": 195454116, "16": 195653458, "17": 195379756, "18": 195454116, "19": ... | [0, 1, 2, 3, 4, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, ... | 20,546,846,320 | 5.169105 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s470778595 | train | cpp | /* Your prologue will be the story. */
/* Copyright by HenryLi */
#include<iostream>
#include<algorithm>
#include<queue>
#include<string>
#include<map>
#include<vector>
#include<set>
#include<sstream>
#include<stack>
#include<ctime>
#include<cmath>
#include<cctype>
#include<climits>
#include<cstring>
#i... | {"0": 1013190750, "1": 1022213192, "2": 1022213192, "3": 1022613592, "4": 1013101518, "5": 1013190750, "6": 1013101518, "7": 1012873004, "8": 1021948928, "9": 1013101518, "10": 1013101518, "11": 1013101518, "12": 1013101518, "13": 1013101518, "14": 1013101518, "15": 1013101518, "16": 1013101518, "17": 1013101518, "18":... | [] | ok | 105,438,837,504 | s435874993 | #include<cstdio>
int a[200005],n;
long long ans;
int main()
{
scanf("%d",&n);
for(int i=1;i<=n;++i)scanf("%d",a+i);
if(a[1]){puts("-1");return 0;}
for(int i=2;i<=n;++i)if(a[i]<=a[i-1])ans+=a[i];
else if(a[i]==a[i-1]+1)ans++;
else {puts("-1");return 0;}
printf("%lld\n",ans);
return 0;
} | {"0": 192453690, "1": 195922584, "2": 195729248, "3": 195729248, "4": 193462984, "5": 192453690, "6": 193462984, "7": 192639304, "8": 195729248, "9": 193462984, "10": 192634156, "11": 193462984, "12": 192705370, "13": 192685922, "14": 193603410, "15": 192753418, "16": 192685922, "17": 193653460, "18": 192637874, "19": ... | ok | 5.246731 | 5.246731 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.280391 | false | false | false | 5.327493 | 0.104558 | 0.019626 | 0.019126 | Accepted | Accepted | 0.019126 | 0.994144 | 7 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.34214 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s273482232 | train | cpp | #include <bits/stdc++.h>
using namespace std;
int n,arr[200009];
int main()
{
scanf("%d",&n);
for(int i=1;i<=n;i++)scanf("%d",&arr[i]);
if(arr[1]>0)
{
printf("-1\n");
return 0;
}
long long ans=0;
for(int i=1;i<=n;i++)
{
if(arr[i]-arr[i-1]>1)
... | {"0": 1008306442, "1": 1010844120, "2": 1010719138, "3": 1010710272, "4": 1009133268, "5": 1008306442, "6": 1009133268, "7": 1008359352, "8": 1010685104, "9": 1009133268, "10": 1008361926, "11": 1009133268, "12": 1008383090, "13": 1008368218, "14": 1009402680, "15": 1008377942, "16": 1008368218, "17": 1009390096, "18":... | [] | ok | 104,924,138,462 | s435874993 | #include<cstdio>
int a[200005],n;
long long ans;
int main()
{
scanf("%d",&n);
for(int i=1;i<=n;++i)scanf("%d",a+i);
if(a[1]){puts("-1");return 0;}
for(int i=2;i<=n;++i)if(a[i]<=a[i-1])ans+=a[i];
else if(a[i]==a[i-1]+1)ans++;
else {puts("-1");return 0;}
printf("%lld\n",ans);
return 0;
} | {"0": 192453690, "1": 195922584, "2": 195729248, "3": 195729248, "4": 193462984, "5": 192453690, "6": 193462984, "7": 192639304, "8": 195729248, "9": 193462984, "10": 192634156, "11": 193462984, "12": 192705370, "13": 192685922, "14": 193603410, "15": 192753418, "16": 192685922, "17": 193653460, "18": 192637874, "19": ... | ok | 5.221119 | 5.221119 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.254614 | false | false | false | 5.323115 | 0.104472 | 0.019626 | 0.019126 | Accepted | Accepted | 0.019126 | 0.994139 | 7 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.316062 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s755109682 | train | cpp | #include<bits/stdc++.h>
using namespace std;
inline long long read(){
long long x=0,f=1;char ch=getchar();
while(ch<'0'||ch>'9'){if(ch=='-')f=-1;ch=getchar();}
while(ch>='0'&&ch<='9'){x=(x<<3)+(x<<1)+ch-'0';ch=getchar();}
return x*f;
}
#define MN 200005
long long n,a[MN];
long long ans;
int main(){
n=r... | {"0": 1005072926, "1": 1008152002, "2": 1008168590, "3": 1008161440, "4": 1005072926, "5": 1005072926, "6": 1005072926, "7": 1005074928, "8": 1008152002, "9": 1005072926, "10": 1005074928, "11": 1005072926, "12": 1005074928, "13": 1005072926, "14": 1005072926, "15": 1005072926, "16": 1005072926, "17": 1005072926, "18":... | [] | ok | 104,555,539,660 | s991247698 | #include<stdio.h>
#include<algorithm>
#define maxn 200005
#define inf 0x3f3f3f3f
using namespace std;
typedef long int ll;
int main()
{
int n, t, x;
long long ans = 0;
scanf("%d %d", &n, &t);
if (t) return 0 & puts("-1");
while(--n){
scanf("%d", &x);
if (x <= t) ans += ... | {"0": 192071022, "1": 195564226, "2": 195454116, "3": 195454116, "4": 192689068, "5": 192071022, "6": 192689068, "7": 192497448, "8": 195454116, "9": 192689068, "10": 191585680, "11": 192689068, "12": 191585680, "13": 191718956, "14": 191718956, "15": 191585680, "16": 191718956, "17": 191718956, "18": 191585680, "19": ... | ok | 5.230655 | 5.230655 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.236155 | false | false | false | 5.279528 | 0.104045 | 0.019707 | 0.019126 | Accepted | Accepted | 0.019126 | 0.993154 | 7 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.297387 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s694490834 | train | cpp | #include<cstdio>
#include<cstring>
#include<cmath>
#include<iostream>
#include<cstdlib>
#include<map>
#include<stack>
#include<algorithm>
using namespace std;
const int N = 300000;
int main()
{
int n,ch[N];
long long int ans=0;
scanf("%d",&n);
for(int i=0;i<n;i++)
scanf("%d",&c... | {"0": 1039575966, "1": 1042238626, "2": 1042130804, "3": 1042018978, "4": 1040618722, "5": 1039575966, "6": 1040618722, "7": 1039565384, "8": 1042159976, "9": 1040618722, "10": 1039557376, "11": 1040618722, "12": 1039559092, "13": 1039565384, "14": 1040754572, "15": 1039551942, "16": 1039565384, "17": 1040866684, "18":... | [] | ok | 108,186,920,556 | s679497708 | #include<stdio.h>
#include<algorithm>
#define maxn 200005
#define inf 0x3f3f3f3f
using namespace std;
typedef long int ll;
int main()
{
int n, t, x;
long long ans = 0;
scanf("%d %d", &n, &t);
if (t) return 0 & puts("-1");
while(--n){
scanf("%d", &x);
if (x <= t) ans += ... | {"0": 192071022, "1": 195564226, "2": 195454116, "3": 195454116, "4": 192689068, "5": 192071022, "6": 192689068, "7": 192497448, "8": 195454116, "9": 192689068, "10": 191585680, "11": 192689068, "12": 191585680, "13": 191718956, "14": 191718956, "15": 191585680, "16": 191718956, "17": 191718956, "18": 191585680, "19": ... | ok | 5.412324 | 5.412324 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.418015 | false | false | false | 5.442249 | 0.107252 | 0.019707 | 0.019126 | Accepted | Accepted | 0.019126 | 0.993403 | 7 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.481374 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s556012048 | train | cpp | #include <iostream>
#include <cstdio>
using namespace std;
long long n, s, mx, a[200005];
int main() {
long long i;
scanf("%lld", &n);
for(i=1; i<=n; i++) scanf("%lld", a+i);
for(i=n; i; i--) {
mx = max(mx-1, a[i]);
if(a[i]<mx) mx=i=1;
else if(a[i] == a[i-1]+1) s++;
else s += a[i];
}
printf(... | {"0": 1010258106, "1": 1010286706, "2": 1010234082, "3": 1010241804, "4": 1011469602, "5": 1010258106, "6": 1011452156, "7": 1010377654, "8": 1010232652, "9": 1011452156, "10": 1010382230, "11": 1011452156, "12": 1010474036, "13": 1010447724, "14": 1011736440, "15": 1010882158, "16": 1010447724, "17": 1011735868, "18":... | [] | ok | 105,131,943,774 | s469993759 | #include <cstdio>
long long n, s, a[200005];
int main() {
scanf("%lld%lld", &n, a);
if(a[0]>0) return !puts("-1");
for(long long i=1; i<n; i++) {
scanf("%lld", a+i);
if(a[i] - a[i-1] > 1) return !puts("-1");
else if(a[i] == a[i-1]+1) s++;
else s += a[i];
}
printf("%lld", s);
return 0;
} | {"0": 191775870, "1": 194606412, "2": 194486006, "3": 194397060, "4": 192317268, "5": 191775870, "6": 192317268, "7": 192101910, "8": 194486006, "9": 192317268, "10": 191384050, "11": 192317268, "12": 191384050, "13": 191773010, "14": 191773010, "15": 191384050, "16": 191773010, "17": 191773010, "18": 191384050, "19": ... | ok | 5.265768 | 5.265768 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.265021 | false | false | false | 5.325187 | 0.104476 | 0.019619 | 0.019126 | Accepted | Accepted | 0.019126 | 0.994221 | 7 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.326591 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s047535893 | train | cpp | #include <bits/stdc++.h>
using namespace std;
int main(void){
long n;
cin >> n;
vector<long> a(n+1);
a[0] = -1;
for(long i=1; i<=n; i++){
cin >> a[i];
}
long count=-1;
for(long i=n; i>=1; i--){
long d = a[i]-a[i-1];
if(d>=2){
cout << -1... | {"0": 1024566400, "1": 1024469446, "2": 1023964656, "3": 1023972664, "4": 1026479740, "5": 1024580700, "6": 1026394798, "7": 1024813218, "8": 1023964942, "9": 1026394798, "10": 1024681944, "11": 1026394798, "12": 1024656204, "13": 1025239072, "14": 1027103792, "15": 1025507054, "16": 1025239072, "17": 1027108368, "18":... | [] | ok | 106,677,739,454 | s629763566 | #include <stdio.h>
#define N 200000
long a[N+1];
int main(void){
long n;
scanf("%ld", &n);
a[0] = -1;
for(long i=1; i<=n; i++){
scanf("%ld", a+i);
}
long count=-1;
for(long i=n; i>=1; i--){
long d = a[i]-a[i-1];
if(d>=2){
puts("-1");
... | {"0": 192111920, "1": 195351728, "2": 195214448, "3": 195214448, "4": 193041706, "5": 192111920, "6": 192879258, "7": 192257208, "8": 195214448, "9": 192879258, "10": 192268362, "11": 192879258, "12": 192268362, "13": 192274082, "14": 193177556, "15": 192436244, "16": 192274082, "17": 193166402, "18": 192257208, "19": ... | ok | 5.320732 | 5.320732 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.342435 | false | false | false | 5.374563 | 0.106523 | 0.01982 | 0.019126 | Accepted | Accepted | 0.019126 | 0.992059 | 7 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.40491 | null | null | null | null | null | null | null | null | null | null | null |
p03347 | s453955038 | train | cpp | #include<iostream>
#include<cstdio>
using namespace std;
int a[201000];long long ans=0;
int main()
{
int n;scanf("%d",&n);
for(int i=1;i<=n;i++)scanf("%d",&a[i]);
if(a[1]!=0)return 0*puts("-1");
int now=0;
for(int i=n;i>=2;i--)
{
if(a[i]<now)return 0*puts("-1");
else if(a[i]==now){if(a[i]!=0)now-... | {"0": 1007749028, "1": 1010233224, "2": 1010137986, "3": 1010103952, "4": 1008946224, "5": 1007749028, "6": 1009005998, "7": 1007775340, "8": 1010123114, "9": 1009005998, "10": 1007734156, "11": 1009005998, "12": 1007764186, "13": 1007756750, "14": 1009065200, "15": 1008150000, "16": 1007756750, "17": 1009077498, "18":... | [] | ok | 104,883,813,320 | s547670801 | #include<cstdio>
#include<cctype>
#include<cstring>
#include<ctime>
#include<cstdlib>
#include<algorithm>
#define max(a,b) (a>b?a:b)
#define min(a,b) (a<b?a:b)
#define reg register
typedef long long ll;
template<typename T>inline T read(){
reg T x=0;reg short f=1;reg char c=getchar();
for(;!isdigit(... | {"0": 189830212, "1": 192545210, "2": 192456836, "3": 192542922, "4": 189894276, "5": 189830212, "6": 189894276, "7": 189674342, "8": 192456836, "9": 189894276, "10": 189750418, "11": 189894276, "12": 189750418, "13": 189888556, "14": 189888556, "15": 189750418, "16": 189888556, "17": 189888556, "18": 189750418, "19": ... | ok | 5.306931 | 5.306931 | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 104 | 104 | 104 | 104 | 0 | 5.252595 | false | false | false | 5.457064 | 0.104739 | 0.019193 | 0.019126 | Accepted | Accepted | 0.019126 | 0.999213 | 9 | s431723443 | {"0": 189687498, "1": 192430238, "2": 192349872, "3": 192349872, "4": 189557368, "5": 189687498, "6": 189557368, "7": 189465276, "8": 192349872, "9": 189557368, "10": 189533630, "11": 189557368, "12": 189533630, "13": 189458698, "14": 189615712, "15": 189533630, "16": 189458698, "17": 189615712, "18": 189533630, "19": ... | [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 8... | 19,737,190,902 | 5.314019 | null | null | null | null | null | null | null | null | null | null | null |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.