/ 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 5ms 4.258 MiB
#2 Accepted 3ms 4.363 MiB
#3 Accepted 4ms 4.367 MiB
#4 Accepted 4ms 4.375 MiB
#5 Accepted 4ms 4.363 MiB
#6 Accepted 9ms 4.355 MiB
#7 Accepted 36ms 7.055 MiB
#8 Accepted 63ms 8.625 MiB
#9 Accepted 82ms 8.98 MiB
#10 Accepted 95ms 8.801 MiB

信息

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