/ 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.285 MiB
#2 Accepted 4ms 4.367 MiB
#3 Accepted 5ms 4.375 MiB
#4 Accepted 5ms 4.355 MiB
#5 Accepted 5ms 4.344 MiB
#6 Accepted 5ms 4.453 MiB
#7 Accepted 42ms 6.777 MiB
#8 Accepted 98ms 8.75 MiB
#9 Accepted 69ms 8.863 MiB
#10 Accepted 74ms 8.875 MiB

信息

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