/ Vijos /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:16: warning: unused variable 'i' [-Wunused-variable]
  long long n,k,i,j;
                ^
/in/foo.cc:5:18: warning: unused variable 'j' [-Wunused-variable]
  long long n,k,i,j;
                  ^
/in/foo.cc:10:4: warning: 's' is used uninitialized in this function [-Wuninitialized]
   s=s+1.0/n;
   ~^~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 2ms 344.0 KiB
#2 Accepted 3ms 384.0 KiB
#3 Accepted 6ms 352.0 KiB
#4 Accepted 2ms 384.0 KiB
#5 Accepted 4ms 352.0 KiB

信息

递交者
类型
递交
题目
P1127 级数求和
语言
C++
递交时间
2018-03-17 15:34:40
评测时间
2018-03-17 15:34:40
评测机
分数
50
总耗时
19ms
峰值内存
384.0 KiB