记录详情

Accepted

In function 'int FindMax(int*, int)',
    inlined from 'int MaxProFrom(int*, int, int)' at /in/foo.cc:25:18:
/in/foo.cc:6:9: warning: 'b' may be used uninitialized [-Wmaybe-uninitialized]
    6 |     int max = a[0];
      |         ^~~
/in/foo.cc: In function 'int MaxProFrom(int*, int, int)':
/in/foo.cc:20:9: note: 'b' declared here
   20 |     int b[100000];
      |         ^
In function 'int FindMax(int*, int)',
    inlined from 'int MaxPro(int*, int)' at /in/foo.cc:38:18:
/in/foo.cc:6:9: warning: 'c' may be used uninitialized [-Wmaybe-uninitialized]
    6 |     int max = a[0];
      |         ^~~
/in/foo.cc: In function 'int MaxPro(int*, int)':
/in/foo.cc:33:9: note: 'c' declared here
   33 |     int c[100000];
      |         ^
# 状态 耗时 内存占用
#1 Accepted 2ms 480.0 KiB
#2 Accepted 1ms 536.0 KiB
#3 Accepted 2ms 476.0 KiB
#4 Accepted 61ms 648.0 KiB
#5 Accepted 234ms 736.0 KiB

信息

递交者
类型
递交
题目
3-3 炒股发财
比赛
2025年春 南师大《程序设计与竞赛》作业赛第三场
语言
C++
递交时间
2025-03-22 20:03:40
评测时间
2025-03-22 20:03:40
评测机
分数
100
总耗时
303ms
峰值内存
736.0 KiB