/ Vijos /

记录详情

Accepted

foo.cc: In function 'int main()':
foo.cc:217:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 freopen("INPUT.txt", "r", stdin);
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:218:8: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 freopen("OUTPUT.txt", "w", stdout);
 ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 2ms 388.0 KiB
#2 Accepted 27ms 516.0 KiB
#3 Accepted 27ms 552.0 KiB
#4 Accepted 1567ms 1.57 MiB
#5 Accepted 1629ms 1.613 MiB
#6 Accepted 1601ms 1.586 MiB
#7 Accepted 1529ms 1.633 MiB
#8 Accepted 1593ms 1.637 MiB
#9 Accepted 1466ms 1.613 MiB
#10 Accepted 1474ms 1.582 MiB

信息

递交者
类型
递交
题目
P1940 奇怪的游戏
语言
C++
递交时间
2021-09-28 18:39:09
评测时间
2021-09-28 18:39:09
评测机
分数
100
总耗时
10918ms
峰值内存
1.637 MiB