Runtime Error

foo.cc: In function 'int main()':
foo.cc:7:12: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
    7 |     freopen("data.in", "r", stdin);
      |     ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~
foo.cc:11:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   11 |     scanf("%d", &n);
      |     ~~~~~^~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 4ms 512.0 KiB
#2 Runtime Error Segmentation fault 2ms 384.0 KiB

信息

递交者
类型
递交
题目
P1093 打印杨辉三角
语言
C++
递交时间
2022-07-30 20:11:46
评测时间
2022-07-30 20:11:46
评测机
分数
0
总耗时
7ms
峰值内存
512.0 KiB