记录详情

Time Exceeded

foo.cc: In function 'void fre()':
foo.cc:12:29: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
 void fre() { system("clear"), freopen("A.txt", "r", stdin); freopen("Ans.txt","w",stdout); }
              ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:12:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
foo.cc:12:68: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
 void fre() { system("clear"), freopen("A.txt", "r", stdin); freopen("Ans.txt","w",stdout); }
                                                             ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
foo.cc: In function 'void Fre()':
foo.cc:13:29: warning: ignoring return value of 'int system(const char*)', declared with attribute warn_unused_result [-Wunused-result]
 void Fre() { system("clear"), freopen("A.txt", "r", stdin);}
              ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.cc:13:29: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
foo.cc: In function 'int main()':
foo.cc:110:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     sc("%d", &n);
       ^
foo.cc:114:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         sc("%d %d", &u, &v);
           ^
foo.cc:123:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
     sc("%d", &m);
       ^
foo.cc:128:11: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
         sc("%d %d", &x, &k);
           ^
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 22ms 21.199 MiB
#2 Accepted 23ms 21.172 MiB
#3 Accepted 22ms 21.172 MiB
#4 Accepted 23ms 21.191 MiB
#5 Accepted 23ms 21.156 MiB
#6 Accepted 341ms 50.375 MiB
#7 Accepted 342ms 50.438 MiB
#8 Accepted 305ms 50.211 MiB
#9 Accepted 222ms 43.824 MiB
#10 Accepted 229ms 43.793 MiB
#11 Accepted 215ms 43.793 MiB
#12 Accepted 216ms 43.848 MiB
#13 Accepted 345ms 47.625 MiB
#14 Accepted 345ms 47.789 MiB
#15 Accepted 393ms 47.422 MiB
#16 Accepted 395ms 47.562 MiB
#17 Accepted 369ms 46.051 MiB
#18 Accepted 372ms 45.809 MiB
#19 Accepted 372ms 45.34 MiB
#20 Time Exceeded ≥1150ms ≥97.797 MiB

信息

递交者
类型
递交
题目
lxhgww的奇思妙想
语言
C++
递交时间
2021-04-19 19:07:47
评测时间
2021-04-19 19:07:47
评测机
分数
95
总耗时
≥5732ms
峰值内存
≥97.797 MiB