/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:7:15: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
  for(int i=0;i<s.size();i++){
              ~^~~~~~~~~
/in/foo.cc:6:6: warning: unused variable 'ans' [-Wunused-variable]
  int ans,d;
      ^~~
/in/foo.cc:11:9: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
  if(d==1||d==2)cout<<1;
     ~~~~^~~~~~
# 状态 耗时 内存占用
#1 Accepted 4ms 256.0 KiB
#2 Accepted 2ms 344.0 KiB
#3 Accepted 3ms 360.0 KiB
#4 Accepted 2ms 364.0 KiB
#5 Accepted 2ms 360.0 KiB

信息

递交者
类型
递交
题目
P1141 最小非负值
语言
C++
递交时间
2018-08-24 20:36:09
评测时间
2018-08-24 20:36:09
评测机
分数
100
总耗时
14ms
峰值内存
364.0 KiB