Brush(I) 水
来源:互联网 发布:空间大师淘宝 编辑:程序博客网 时间:2024/05/16 07:33
主要是:被题意杀了......表示原来的"\n" 没有打,就变成了WA
#include <iostream>#include <stdio.h>#include <algorithm>#include <cstring>using namespace std;int T,n;int main(){ scanf("%d",&T); for(int loc=1; loc<=T; loc++) { int x; long long ans=0; scanf("%d",&n); for(int i=1; i<=n; i++) { scanf("%d",&x); if(x>0) ans+=x; } printf("Case %d: %lld\n",loc,ans); } return 0;}
阅读全文
0 0
- Brush(I) 水
- LightOJ 1015 Brush (I)
- LightOJ-1015-Brush (I)
- brush
- LightOJ - 1016 Brush (II) (模拟)水
- LightOJ - 1019 Brush (V) (最短路) 水
- GDI-Brush
- The Brush Origin
- 使用Brush類繪製圖像
- WPF之Brush浅见
- AS3 Bitmapdata brush!
- GDI+: Pen and Brush
- c#Brush的使用方法
- Pen和Brush
- Silverlight Brush画刷
- Pen、Brush对象
- wpf brush赋值颜色
- Direct2D的Brush操作
- 4.bash shell命令深入
- 手动制作python安装模块
- bundle传值时注意的问题
- Python函数参数中*与**的用法和区别
- 技术收获小记2017-10-22
- Brush(I) 水
- USTC中科大信息安全竞赛——黑客猜奇偶(1.0)
- 智能音箱市场深度报告:大家都在抢的两亿小蛋糕【附下载】| 智东西内参
- hadoop伪分布环境搭建
- # react中父子组件之间的通讯,一看就懂
- C# NPOI CellType类型
- 2_telosb节点的简单介绍
- [转] c指针 vs 数组
- leetcode 557 Reverse Words in a String III