提交记录 #266

提交时间:2024-11-19 10:06:43
语言:c 状态:Unaccepted
编译情况:编译成功
code.c: In function ‘main’:
code.c:5:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=]
    5 |     scanf("%d",n);
      |            ~^  ~
      |             |  |
      |             |  int
      |             int *
code.c:5:5: warning: ‘n’ is used uninitialized in this function [-Wuninitialized]
    5 |     scanf("%d",n);
      |     ^~~~~~~~~~~~~
code.c:36:5: warning: ‘maxstart’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   36 |     printf("%d %d\n", maxstart + 1, maxend + 1);
      |     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
固定测试点#1:
reRuntime Error: - Returning:-11
time 0.008s
memory 552 kB
固定测试点#2:
reRuntime Error: - Returning:-11
time 0.006s
memory 236 kB
固定测试点#3:
reRuntime Error: - Returning:-11
time 0.006s
memory 564 kB
附加测试点暂不可用
... 不可用
time N/A
memory N/A
京ICP备2024093084 号