/ 晓编程 /

记录详情

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,h;
              ^
/in/foo.cc:15:4: warning: 'h' is used uninitialized in this function [-Wuninitialized]
   b=h/i;
   ~^~~~
/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:16: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,h;
                  ^
/in/foo.cc:20:10: warning: 'e' may be used uninitialized in this function [-Wmaybe-uninitialized]
   cout<<e;
          ^
# 状态 耗时 内存占用
#1 Wrong Answer 2ms 228.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 232.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 220.0 KiB

信息

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