博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
Codeforces Rating Gym-101028A
阅读量:4155 次
发布时间:2019-05-26

本文共 495 字,大约阅读时间需要 1 分钟。

Codeforces Rating Gym-101028A

标签:水题


/*    题意:排名初值为1500,经过N次变化,判断变化后的值是否等于R*/#include 
int main(){ int T; scanf("%d", &T); while(T--) { int N, R; int change; int initial = 1500; scanf("%d %d", &N, &R); for(int i = 0; i < N; i++) { scanf("%d", &change); initial += change; } if(initial == R && initial > 0) printf("Correct\n"); //initial > 0, 排名不能为负数 else printf("Bug\n"); } return 0;}

转载地址:http://ankxi.baihongyu.com/

你可能感兴趣的文章
CMFCShellListCtrl使用方法
查看>>
mapnik的demo运行
查看>>
python支持下的mapnik安装
查看>>
milvus手册
查看>>
查看pytorch基于cuda 的哪个版本
查看>>
多目标跟踪的简单理解
查看>>
Near-Online Multi-target Tracking with Aggregated Local Flow Descriptor
查看>>
Joint Tracking and Segmentation of Multiple Targets
查看>>
Subgraph Decomposition for Multi-Target Tracking
查看>>
JOTS: Joint Online Tracking and Segmentation
查看>>
CDT: Cooperative Detection and Tracking for Tracing Multiple Objects in Video Sequences
查看>>
Improving Multi-frame Data Association with Sparse Representations for Robust Near-online Multi-ob
查看>>
Virtual Worlds as Proxy for Multi-Object Tracking Analysis
查看>>
Multi-view People Tracking via Hierarchical Trajectory Composition
查看>>
Online Multi-Object Tracking via Structural Constraint Event Aggregation
查看>>
The Solution Path Algotithm for Identity-Aware Multi-Object Tracking
查看>>
Groupwise Tracking of Crowded Similar-Appearance Targets from Low-Continuity Image Sequences
查看>>
CDTS: Collaborative Detection, Tracking, and Segmentation for Online Multiple Object Segmentation
查看>>
Deep Network Flow for Multi-Object Tracking
查看>>
Multiple People Tracking by Lifted Multicut and Person Re-identification
查看>>