版本比较
P7794 [COCI2014-2015#7] JANJE
正文
增加 1 行删除 1 行
172 行未改动全部展开1731741751761771781791801818 行未改动172 行未改动全部展开using namespace std;int n,k;bool flag[8]={0,1,0,1,1,0,0,0};long long cnt[8]={0,1<<19,1<<5,1<<3,1<<13,1<<2,1<<1,1<<5};//注意位运算符优先级较小,需要用括号。int main(){ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);8 行未改动172 行未改动全部展开1731741751761771781791801818 行未改动172 行未改动全部展开using namespace std;int n,k;bool flag[8]={0,1,0,1,1,0,0,0};long long cnt[8]={0,1<<19,1<<5,1<<3,1<<13,1<<2,1<<1,1<<5};//注意位运算符优先级较小,需要用括号。int main(){ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);8 行未改动