QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#552178#9251. Graph Changingucup-team3607#Compile Error//C++146.6kb2024-09-07 20:57:402024-09-07 20:57:41

Details

answer.code:10:14: error: too many decimal points in number
   10 |     for k in 0..n {
      |              ^~~~
answer.code:11:18: error: too many decimal points in number
   11 |         for i in 0..n {
      |                  ^~~~
answer.code:12:22: error: too many decimal points in number
   12 |             for j in 0..n {
      |                      ^~~~
answer.code:82:18: error: too many decimal points in number
   82 |         for j in 1..n {
      |                  ^~~~
answer.code:93:18: error: too many decimal points in number
   93 |         for j in 1..=t {
      |                  ^~~
answer.code:94:24: error: too many decimal points in number
   94 |             let tmp = (0..n)
      |                        ^~~~
answer.code:96:22: error: too many decimal points in number
   96 |                     (0..n)
      |                      ^~~~
answer.code:131:18: error: too many decimal points in number
  131 |     for _test in 0..t {
      |                  ^~~~
answer.code:160:2: error: invalid preprocessing directive #[
  160 | #[allow(dead_code)]
      |  ^
answer.code:242:6: error: invalid preprocessing directive #[
  242 |     #[allow(dead_code)]
      |      ^
answer.code:249:6: error: invalid preprocessing directive #[
  249 |     #[allow(dead_code)]
      |      ^
answer.code:1:1: error: ‘pub’ does not name a type
    1 | pub use self::template::*;
      | ^~~
answer.code:2:1: error: ‘use’ does not name a type
    2 | use std::collections::HashMap;
      | ^~~
answer.code:3:1: error: ‘use’ does not name a type
    3 | use std::io::{stdin, stdout, BufWriter, Write};
      | ^~~
answer.code:5:12: error: found ‘:’ in nested-name-specifier, expected ‘::’
    5 | const INFTY: u8 = (1 << 7) - 1;
      |            ^
      |            ::
answer.code:5:7: error: ‘INFTY’ does not name a type
    5 | const INFTY: u8 = (1 << 7) - 1;
      |       ^~~~~
answer.code:7:1: error: ‘fn’ does not name a type
    7 | fn floyd(matr: &mut [Vec<u8>]) {
      | ^~
answer.code:21:1: error: ‘fn’ does not name a type
   21 | fn to_output(x: u8) -> i32 {
      | ^~
answer.code:29:1: error: ‘fn’ does not name a type
   29 | fn solve_test<const BIG: usize>(
      | ^~
answer.code:128:1: error: ‘pub’ does not name a type
  128 | pub fn solve(scan: &mut impl Scanner, cout: &mut impl Write) {
      | ^~~
answer.code:161:1: error: ‘fn’ does not name a type
  161 | fn main() {
      | ^~
answer.code:168:1: error: ‘pub’ does not name a type
  168 | pub mod template {
      | ^~~