QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#293261#6557. LCSLCSLCSrepoman#Compile Error//C++2320.8kb2023-12-29 03:05:462023-12-29 03:05:46

详细

answer.code:17:14: error: invalid preprocessing directive #[
   17 |             #[derive(Default, Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
      |              ^
answer.code:21:25: error: too many decimal points in number
   21 |                     self.0.first()
      |                         ^~~~~~~~
answer.code:26:25: error: too many decimal points in number
   26 |                     self.0.len()
      |                         ^~~~~~
answer.code:29:25: error: too many decimal points in number
   29 |                     self.0.is_empty()
      |                         ^~~~~~~~~~~
answer.code:42:30: error: too many decimal points in number
   42 |                     for i in 0..perm.len() {
      |                              ^~~~~~~~~~~
answer.code:43:34: error: too many decimal points in number
   43 |                         for j in 0..perm.len() {
      |                                  ^~~~~~~~~~~
answer.code:62:31: error: too many decimal points in number
   62 |                     for i in (0..perm.len()).rev() {
      |                               ^~~~~~~~~~~
answer.code:64:56: error: too many decimal points in number
   64 |                         for j in &mut ans[i][perm[i] + 1..] {
      |                                                        ^~~
answer.code:81:26: error: too many decimal points in number
   81 |                 for l in 0..rows {
      |                          ^~~~~~~
answer.code:82:31: error: too many decimal points in number
   82 |                     for r in (0..cols).rev() {
      |                               ^~~~~~~
answer.code:105:14: error: invalid preprocessing directive #[
  105 |             #[derive(Debug, Copy, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
      |              ^
answer.code:110:14: error: invalid preprocessing directive #[
  110 |             #[derive(Debug, Default, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
      |              ^
answer.code:135:30: error: too many decimal points in number
  135 |                     for i in 0..self.len() {
      |                              ^~~~~~~~~~~
answer.code:167:38: error: too many decimal points in number
  167 |                 for &i in &perm.perm[0..perm.len() / 2] {
      |                                      ^~~~~~~~~~~
answer.code:207:29: error: too many decimal points in number
  207 |                 for row in (0..perm.len()).rev() {
      |                             ^~~~~~~~~~~
answer.code:237:10: error: invalid preprocessing directive #[
  237 |         #[derive(Default, Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
      |          ^
answer.code:259:28: error: too many decimal points in number
  259 |                     perm: (0..n).collect(),
      |                            ^~~~
answer.code:267:26: error: too many decimal points in number
  267 |                 for i in 0..self.len() {
      |                          ^~~~~~~~~~~
answer.code:280:27: error: too many decimal points in number
  280 |                 for i in (0..tmp.len()).skip(1) {
      |                           ^~~~~~~~~~
answer.code:288:14: warning: character constant too long for its type
  288 |         impl<'a> Add<&StickyPermutation> for &'a StickyPermutation {
      |              ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
answer.code:301:10: error: invalid preprocessing directive #[
  301 |         #[cfg(test)]
      |          ^
answer.code:313:55: error: too many decimal points in number
  313 |                 let swap_with = perm[last_ascending + 1..]
      |                                                       ^~~
answer.code:317:39: error: too many decimal points in number
  317 |                 perm[last_ascending + 1..].reverse();
      |                                       ^~~
answer.code:320:14: error: invalid preprocessing directive #[
  320 |             #[test]
      |              ^
answer.code:322:26: error: too many decimal points in number
  322 |                 for n in 1..7 {
      |                          ^~~~
answer.code:323:42: error: too many decimal points in number
  323 |                     let mut a: Vec<_> = (0..n).collect();
      |                                          ^~~~
answer.code:341:6: error: invalid preprocessing directive #[
  341 |     #[derive(Default, Debug, Clone, Ord, PartialOrd, Eq, PartialEq, Hash)]
      |      ^
answer.code:348:24: error: too many decimal points in number
  348 |                 perm: (0..n).map(|x| x as i128).collect(),
      |                        ^~~~
answer.code:354:23: error: too many decimal points in number
  354 |             for i in (0..tmp.len()).skip(1) {
      |                       ^~~~~~~~~~
answer.code:365:14: error: too many decimal points in number
  365 |             (0..self.len())
      |              ^~~~~~~~~~~
answer.code:377:22: error: too many decimal points in number
  377 |             for i in 0..self.len() {
      |                      ^~~~~~~~~~~
answer.code:...