/ 7FOJ /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:11:17: warning: 'ch' may be used uninitialized in this function [-Wmaybe-uninitialized]
     while(ch<'0'||ch>'9'){ch=getchar();if(ch=='-') f=-1;}
           ~~~~~~^~~~~~~~
/in/foo.cc:10:19: note: 'ch' was declared here
     int res=0,f=1,ch;
                   ^~
# 状态 耗时 内存占用
#1 Accepted 1ms 220.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 228.0 KiB
#4 Accepted 6ms 304.0 KiB
#5 Accepted 2ms 220.0 KiB
#6 Accepted 8ms 304.0 KiB
#7 Accepted 8ms 304.0 KiB
#8 Accepted 7ms 300.0 KiB
#9 Accepted 10ms 300.0 KiB
#10 Accepted 10ms 300.0 KiB

信息

递交者
类型
递交
题目
P1016 「NOIP2005 P」循环
语言
C++
递交时间
2020-05-26 11:34:45
评测时间
2020-05-26 11:34:45
评测机
分数
100
总耗时
60ms
峰值内存
304.0 KiB