#219

by Zzzyt

Submitted 3 years 6 months 1 day ago
Sat Apr 24 22:24:35 CST 2021
Judger: judger1
Dataset Version: v1

129 ms / 68768 KB
Final 63
Problem: fun21.density
Language: GNU C++ 11


#1

106ms / 68616KB / Point
Input
8
Output

												
Answer
1
Checker Information
4 Rank: C, Score 4. Density=641.00. Delta=633.00

#2

119ms / 68624KB / Point
Input
16
Output

												
Answer
1
Checker Information
4 Rank: C, Score 4. Density=571.00. Delta=555.00

#3

118ms / 68536KB / Point
Input
32
Output

												
Answer
1
Checker Information
4 Rank: C, Score 4. Density=575.00. Delta=543.00

#4

114ms / 68508KB / Point
Input
128
Output

												
Answer
1
Checker Information
6 Rank: B, Score 6. Density=595.00. Delta=467.00

#5

105ms / 68708KB / Point
Input
233
Output

												
Answer
1
Checker Information
6 Rank: B, Score 6. Density=648.00. Delta=415.00

#6

118ms / 68560KB / Point
Input
262
Output

												
Answer
1
Checker Information
6 Rank: B, Score 6. Density=576.00. Delta=314.00

#7

129ms / 68736KB / Point
Input
262.144
Output

												
Answer
1
Checker Information
6 Rank: B, Score 6. Density=528.00. Delta=265.86

#8

105ms / 68560KB / Point
Input
666.66
Output

												
Answer
1
Checker Information
10 Rank: S, Score 10. Density=646.00. Delta=20.66

#9

104ms / 68580KB / Point
Input
1024.996
Output

												
Answer
1
Checker Information
6 Rank: B, Score 6. Density=653.00. Delta=372.00

#10

110ms / 68560KB / Point
Input
1888.88
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=617.00. Delta=1271.88

#11

113ms / 68544KB / Point
Input
2048
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=601.00. Delta=1447.00

#12

123ms / 68632KB / Point
Input
4096
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=553.00. Delta=3543.00

#13

102ms / 68536KB / Point
Input
10000
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=665.00. Delta=9335.00

#14

106ms / 68632KB / Point
Input
12345
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=641.00. Delta=11704.00

#15

105ms / 68768KB / Point
Input
20000
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=648.00. Delta=19352.00

#16

108ms / 68524KB / Point
Input
100000
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=628.00. Delta=99372.00

#17

98ms / 68544KB / Point
Input
114514
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=692.00. Delta=113822.00

#18

113ms / 68708KB / Point
Input
191981.0
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=602.00. Delta=191379.00

#19

116ms / 68560KB / Point
Input
200000
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=585.00. Delta=199415.00

#20

115ms / 68536KB / Point
Input
262000
Output

												
Answer
1
Checker Information
1 Rank: D, Score 1. Density=590.00. Delta=261410.00
/*
Code by Zzzyt

Problem: [2021 Fun]Density o' bullseye (HHSOJ fun21.density)
Algorithm: 
Status: 
Date: 20210424
Version: 1
*/

#include <algorithm>
#include <deque>
#include <iostream>
#include <map>
#include <math.h>
#include <queue>
#include <set>
#include <sstream>
#include <stack>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <string>
#include <time.h>
#include <utility>
#include <vector>
// #include <chrono>
// #include <random>

using namespace std;

#define popc(x) __builtin_popcount(x)
#define over(x)        \
    {                  \
        printf(x);     \
        putchar('\n'); \
        exit(0);       \
    }
#define all(x) x.begin(), x.end()
#define ceil(a, b) ((a - 1) / b + 1)
#define srand() srand(time(0))
#define srandx() mt19937 rng(chrono::steady_clock::now().time_since_epoch().count())
#define randx(l, r) uniform_int_distribution<int>(l, r)(rng)
#define pii pair<int, int>
#define nosync ios::sync_with_stdio(0)
#define pb push_back
typedef long long ll;
typedef unsigned long long ull;

inline int fread() {
    char ch = getchar();
    int x = 0, f = 1;
    while (ch < '0' || ch > '9') {
        if (ch == '-')
            f = -1;
        ch = getchar();
    }
    while (ch >= '0' && ch <= '9') {
        x = x * 10 + ch - '0';
        ch = getchar();
    }
    return x * f;
}

template <typename T1, typename T2>
ostream &operator<<(ostream &os, const pair<T1, T2> &ptt) {
    os << "(" << ptt.first << ", " << ptt.second << ")";
    return os;
}

template <typename T>
ostream &operator<<(ostream &os, const vector<T> &vt) {
    os << "{";
    for (int i = 0; i < vt.size() - 1; i++) {
        os << vt[i] << ", ";
    }
    os << vt[vt.size() - 1] << "}";
    return os;
}

/* -------- End of Template -------- */

#define INF 1000000007

int main(int argc, char *argv[]) {
    cin.tie(0);
    //freopen(".in", "r", stdin);
#ifndef ZZZYT
    //freopen(".out", "w", stdout);
#endif
    vector<int> tmp;
    for(int i=0;i<10000000;i++){
        tmp.push_back(0);
    }
    return 0;
}