/ Vijos /

记录详情

Accepted

foo.cc:4:6: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
 main()
      ^
foo.cc: In function 'int main()':
foo.cc:10:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   cin>>x; for(int i=1;i<=x;++i)scanf("%d",&a[i]);
                                ~~~~~^~~~~~~~~~~~
foo.cc:11:37: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   cin>>y; for(int i=1;i<=y;++i)scanf("%d",&b[i]);
                                ~~~~~^~~~~~~~~~~~
自豪的采用HydroJudge(https://github.com/hydro-dev/Hydro)进行评测。
# 状态 耗时 内存占用
#1 Accepted 2ms 1.266 MiB
#2 Accepted 3ms 1.266 MiB
#3 Accepted 5ms 1.375 MiB
#4 Accepted 7ms 1.43 MiB
#5 Accepted 8ms 1.266 MiB
#6 Accepted 9ms 1.312 MiB
#7 Accepted 6ms 1.434 MiB
#8 Accepted 6ms 1.41 MiB
#9 Accepted 7ms 1.418 MiB
#10 Accepted 7ms 1.375 MiB

信息

递交者
类型
递交
题目
P1264 神秘的咒语
语言
C++
递交时间
2021-03-07 15:01:40
评测时间
2021-03-07 15:01:40
评测机
分数
100
总耗时
64ms
峰值内存
1.434 MiB