/ Vijos /

记录详情

Compile Error

error: character literal may only contain one codepoint
   --> /w/foo.rs:108:57
    |
108 |     if (k>1)and(f[y1,k]=0)and(f[y1,k-1]=0) then writeln('-1')
    |                                                         ^^^^
    |
help: if you meant to write a `str` literal, use double quotes
    |
108 |     if (k>1)and(f[y1,k]=0)and(f[y1,k-1]=0) then writeln("-1")
    |                                                         ~~~~

error: expected one of `!` or `::`, found `ctsc2000`
 --> /w/foo.rs:1:9
  |
1 | program ctsc2000;
  |         ^^^^^^^^ expected one of `!` or `::`

error: aborting due to 2 previous errors

[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
递交
题目
P1170 快乐的蜜月
语言
Rust
递交时间
2022-07-17 16:16:42
评测时间
2022-07-17 16:16:42
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes