/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'int main()':
foo.cc:20:17: warning: conversion lacks type at end of format [-Wformat=]
   20 |         scanf("%*");
      |                 ^
foo.cc:20:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   20 |         scanf("%*");
      |         ~~~~~^~~~~~
foo.cc:21:14: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   21 |         scanf("%s",ch);
      |         ~~~~~^~~~~~~~~
正在同步测试数据,请稍后
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 4ms 512.0 KiB
#2 Accepted 3ms 512.0 KiB
#3 Accepted 9ms 1.5 MiB
#4 Accepted 9ms 1.625 MiB
#5 Accepted 88ms 12.617 MiB
#6 Runtime Error Segmentation fault 19ms 12.0 MiB
#7 Runtime Error Segmentation fault 24ms 12.0 MiB
#8 Runtime Error Segmentation fault 35ms 11.992 MiB
#9 Runtime Error Segmentation fault 19ms 12.0 MiB
#10 Runtime Error Segmentation fault 23ms 12.0 MiB

信息

递交者
类型
递交
题目
P1468 渡河
语言
C++
递交时间
2022-03-18 21:45:35
评测时间
2022-03-18 21:45:35
评测机
分数
50
总耗时
238ms
峰值内存
12.617 MiB