05 2020 档案
摘要:#include <stdio.h> #include <stdlib.h> #include <string.h> #include <stddef.h> #include <ctype.h> typedef long long ll; int main() { // please write y
阅读全文
摘要:#include <bits/stdc++.h> using namespace std; int XtoDec(string s,int x){///x进制字符串转化为10进制 int ans = 0; for(int i=0;i<s.length();i++){ if(isdigit(s[i])
阅读全文
摘要:import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String str; String[] num = {"零
阅读全文
摘要:解法:总和为奇数必为false,如果数字的某种组合能够等于 所有数字的总和/2。 #include <bits/stdc++.h> using namespace std; bitset<50005> flag; ///bitset 在 bitset 头文件中, ///是一种类似数组的结构, ///
阅读全文
摘要:#include<iostream> #include<stdio.h> #include<string.h> using namespace std; typedef long long ll; string now; ll n; int main() { while(~scanf("%lld",
阅读全文
摘要:#include<stdio.h> #include<math.h> int main(){ long long n,m,i,x,s; int arr[16] = {2,1,2,3,4,5,6,7,8,9,8,7,6,5,4,3}; scanf("%lld",&n); m = sqrt(2*n);/
阅读全文

浙公网安备 33010602011771号