/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:10:13: warning: 'c' is used uninitialized in this function [-Wuninitialized]
  while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();}
        ~~~~~^~~~~~~
/in/foo.cc:9:21: note: 'c' was declared here
  int f=1,ans=0;char c;
                     ^
/in/foo.cc:9:21: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
/in/foo.cc:10:13: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
  while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();}
        ~~~~~^~~~~~~
/in/foo.cc:9:21: note: 'c' was declared here
  int f=1,ans=0;char c;
                     ^
# 状态 耗时 内存占用
#1 Accepted 4ms 4.25 MiB
#2 Accepted 12ms 4.363 MiB
#3 Accepted 9ms 4.375 MiB
#4 Accepted 16ms 4.258 MiB
#5 Accepted 13ms 4.25 MiB
#6 Accepted 15ms 4.5 MiB
#7 Accepted 48ms 7.055 MiB
#8 Accepted 81ms 8.797 MiB
#9 Accepted 76ms 8.625 MiB
#10 Accepted 81ms 8.855 MiB

信息

递交者
类型
递交
题目
P1476 旅游规划(csapc)
语言
C++
递交时间
2018-08-15 19:29:58
评测时间
2018-08-15 19:29:58
评测机
分数
100
总耗时
361ms
峰值内存
8.855 MiB