/ 晓编程 /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:5:14: warning: 'i' is used uninitialized in this function [-Wuninitialized]
   int n,i,a[i],b,d,e,g;
              ^
/in/foo.cc:10:11: warning: 'f' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(int f;f<=i;f++){
           ^
/in/foo.cc:15:11: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized]
   for(int c;c<=i;c++){
           ^
/in/foo.cc:5:18: warning: 'd' may be used uninitialized in this function [-Wmaybe-uninitialized]
   int n,i,a[i],b,d,e,g;
                  ^
/in/foo.cc:19:10: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<e;
          ^
/in/foo.cc:14:4: warning: 'g' may be used uninitialized in this function [-Wmaybe-uninitialized]
   b=g/i;
   ~^~~~
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 224.0 KiB
#2 Wrong Answer 1ms 216.0 KiB
#3 Wrong Answer 1ms 228.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 220.0 KiB

信息

递交者
类型
递交
题目
P1044 淘汰谁
语言
C++
递交时间
2020-04-11 14:23:08
评测时间
2020-04-11 14:23:08
评测机
分数
0
总耗时
9ms
峰值内存
228.0 KiB