跳到正文

Ptzyc

1396482

CF:Pt.ll || ISFJ-T || tan π/2 错误且不存在

这是 2026年11月8日 存档的第 2 版,不是当前版本。查看当前版本

资料、奖项与版本

资料

编号
1396482
抓取

版本

抓取失败
本站读不懂洛谷返回的内容
  1. v3当前
  2. v2
  3. v1

Codeforces Rating of @Pt.ll

Blog

blog on cnblog

blog on Github

链接

计数题单

头文件

C++
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <vector>
#include <cstring>
#ifdef _WIN32
#define getchar _getchar_nolock
#define putchar _putchar_nolock
#else
#define getchar getchar_unlocked
#define putchar putchar_unlocked
#endif
#define pll pair<ll,ll>
#define pld pair<ld,ld>
typedef long long ll;
typedef long double ld;
typedef __int128 i128;
namespace io {
    using namespace std;
    template <typename T> void debug (T x) {
        cerr<<x<<'\n';
    }
    template <typename T> void debuglen (T x) {
        cerr<<x<<' ';
    }
    template <typename T,typename...Args> void debug (T x,Args...args) {
        debuglen(x);
        debug(args...);
    }
    template <typename T> void debug (T *lt,T *rt) {
        ll len=rt-lt;
        for (ll i=0;i<len;i++) {
            debuglen(*(lt+i));
        }
        cerr<<'\n';
    }
    inline ll read () {
        char x=getchar();
        ll ans=0,f=1;
        while (x<'0'||x>'9') {
            if (x=='-') {
                f=-1;
            }
            x=getchar();
        }
        while (x>='0'&&x<='9') {
            ans=(ans<<1)+(ans<<3);
            ans+=(x^'0');
            x=getchar();
        }
        return ans*f;
    }
    template <typename T> void write (T x) {
        if (x<0) {
            putchar('-');
            x=-x;
        }
        if (x>=10) {
            write(x/10);
        }
        putchar(x%10+'0');
    }
    template <typename T> inline void print (T x) {
        write(x);
        putchar('\n');
    }
    template <typename T> inline void printlen (T x) {
        write(x);
        putchar(' ');
    }
    template <typename T,typename...Args> inline void print (T x,Args...args) {
        printlen(x);
        print(args...);
    }
    template <typename T> inline void print (T *lt,T *rt) {
        ll len=rt-lt;
        for (ll i=0;i<len;i++) {
            if (i==len-1) {
                print(*(lt+i));
                return ;
            }
            printlen(*(lt+i));
        }
    }
}
using namespace io;
const ll N=2e5+5,mod=1e9+7,inf=2e18;
const ld eps=1e-6;
inline void solve () {
}
int main () {
    // freopen(".in","r",stdin);
    // freopen(".out","w",stdout);
    ll T=1;
    while (T--) {
        solve();
    }
    return 0;
}
Go
package main

import (
	"bufio"
	"fmt"
	"os"
	"strconv"
)

type (
	ll  = int
	ld  = float64
	pll struct{ x, y ll }
)

const (
	N   = ll(3e5 + 5)
	mod = 1e9 + 7
	inf = ll(2e18)
	eps = 1e-6
)

var reader *bufio.Reader
var writer *bufio.Writer

func read() ll {
	n := ll(0)
	f := ll(1)
	c, err := reader.ReadByte()
	for err == nil && (c < '0' || c > '9') {
		if c == '-' {
			f = -1
		}
		c, err = reader.ReadByte()
	}
	for err == nil && c >= '0' && c <= '9' {
		n = (n << 1) + (n << 3) + ll(c^'0')
		c, err = reader.ReadByte()
	}
	return n * f
}
func print[T any](x T) {
	fmt.Fprint(writer, x)
}
func println[T any](x T) {
	print(x)
	writer.WriteByte('\n')
}
func printsp[T any](x T) {
	print(x)
	writer.WriteByte(' ')
}
func debug(args ...any) {
	for i, v := range args {
		if i > 0 {
			os.Stderr.WriteString(" ")
		}
		os.Stderr.WriteString(strconv.FormatInt(v.(int64), 10))
	}
	os.Stderr.WriteString("\n")
}
func solve() {

}
func main() {
	reader = bufio.NewReader(os.Stdin)
	writer = bufio.NewWriter(os.Stdout)
	defer writer.Flush()
	T := 1
	// T=read()
	for ; T > 0; T-- {
		solve()
	}
}

2026 目标

  • 出一场公开赛
  • CF 2000+ 1904/2000(max. candidate master, 1923)
  • NOIP 2026 一等高分
  • 拥有自己的第一个项目 ✔