/ Vijos /

记录详情

Runtime Error

foo.cc: In function 'void ex(long long int)':
foo.cc:12:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,l=s[num].size();
          ^
foo.cc: In function 'int main()':
foo.cc:122:11: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   while(ch=getchar()){
         ~~^~~~~~~~~~
foo.cc:105:8: warning: unused variable 'j' [-Wunused-variable]
  int i,j,k,x,y;
        ^
foo.cc:105:10: warning: unused variable 'k' [-Wunused-variable]
  int i,j,k,x,y;
          ^
foo.cc:105:12: warning: unused variable 'x' [-Wunused-variable]
  int i,j,k,x,y;
            ^
foo.cc:105:14: warning: unused variable 'y' [-Wunused-variable]
  int i,j,k,x,y;
              ^
foo.cc: In function 'bool check()':
foo.cc:75:3: warning: 'k' may be used uninitialized in this function [-Wmaybe-uninitialized]
   if(k^really[tk[i]])return 0;
   ^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Runtime Error Segmentation fault 1ms 384.0 KiB
#2 Wrong Answer Read A, expect Impossible. 1ms 384.0 KiB
#3 Wrong Answer User output longer than standard answer. 1ms 384.0 KiB
#4 Runtime Error Segmentation fault 1ms 384.0 KiB
#5 Runtime Error Segmentation fault 1ms 384.0 KiB
#6 Runtime Error Segmentation fault 1ms 384.0 KiB
#7 Accepted 1ms 380.0 KiB
#8 Accepted 1ms 384.0 KiB
#9 Runtime Error Segmentation fault 2ms 384.0 KiB
#10 Accepted 1ms 384.0 KiB

信息

递交者
类型
递交
题目
P1106 侦探推理
语言
C++
递交时间
2021-11-18 20:59:24
评测时间
2021-11-18 20:59:24
评测机
分数
30
总耗时
19ms
峰值内存
384.0 KiB