/ Vijos /

记录详情

Wrong Answer

foo.cc: In function ‘int main()’:
foo.cc:39:13: warning: ‘sum’ may be used uninitialized [-Wmaybe-uninitialized]
   39 |         int max=sum[1],u;
      |             ^~~
foo.cc:7:13: note: ‘sum’ declared here
    7 |         int sum[1000],num=0,qimo[1000],pingyi[1000],c[1000];
      |             ^~~
foo.cc:39:13: warning: ‘sum’ may be used uninitialized [-Wmaybe-uninitialized]
   39 |         int max=sum[1],u;
      |             ^~~
foo.cc:7:13: note: ‘sum’ declared here
    7 |         int sum[1000],num=0,qimo[1000],pingyi[1000],c[1000];
      |             ^~~
foo.cc:46:21: warning: ‘u’ may be used uninitialized [-Wmaybe-uninitialized]
   46 |         cout<<name[u]<<max<<num;
      |               ~~~~~~^
foo.cc:39:24: note: ‘u’ was declared here
   39 |         int max=sum[1],u;
      |                        ^
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#2 Wrong Answer User output longer than standard answer. 2ms 324.0 KiB
#3 Wrong Answer User output longer than standard answer. 3ms 324.0 KiB
#4 Wrong Answer User output longer than standard answer. 2ms 764.0 KiB
#5 Wrong Answer User output longer than standard answer. 2ms 324.0 KiB
#6 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#7 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#8 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB
#9 Wrong Answer User output longer than standard answer. 2ms 324.0 KiB
#10 Wrong Answer User output longer than standard answer. 2ms 536.0 KiB

信息

递交者
类型
递交
题目
P1001 谁拿了最多奖学金
语言
C++
递交时间
2024-05-05 14:19:14
评测时间
2024-05-05 14:19:14
评测机
分数
0
总耗时
27ms
峰值内存
764.0 KiB