• 2024-04-191058 选择题(字符串处理)
    字符串处理我的噩梦。看dalao才写出来的,不过写的太久了,这个时长考试黄花菜都凉了。#include<bits/stdc++.h>usingnamespacestd;constintinf=0x3f3f3f3f;#definelllonglongstringans[110];//答案个数intscore[110];//正确得分intperson[110];//每个人的得
  • 2023-05-08LightOJ - 1058 Parallelogram Counting (数学几何&技巧)给n个点求组成平行四边形个数
    LightOJ-1058ParallelogramCountingTimeLimit: 2000MSMemoryLimit: 32768KB64bitIOFormat: %lld&%lluSubmit StatusDescriptionThereare n distinctpointsintheplane,givenbytheirintegercoordinates.Findthenumberofparallelogramswhosever
  • 2023-04-01PAT Basic 1058. 选择题
    PATBasic1058.选择题1.题目描述:批改多选题是比较麻烦的事情,本题就请你写个程序帮助老师批改多选题,并且指出哪道题错的人最多。2.输入格式:输入在第一行给出两个正整数N(≤ 1000)和M(≤ 100),分别是学生人数和多选题的个数。随后M行,每行顺次给出一道题的满分值(不超过5的
  • 2022-12-10oj 1058
    #include<iostream>#include<algorithm>usingnamespacestd;intmain(){ intn; cin>>n; inta[n+1],b[n+1]; for(inti=1;i<=n;i++)cin>>a[i]; sort(a+1,a+n+1); in
  • 2022-11-251058. A+B in Hogwarts (20)
    1058.A+BinHogwarts(20)时间限制50ms内存限制65536kB代码长度限制16000B判题程序Sta