QOJ.ac

QOJ

IDProblemSubmitterResultTimeMemoryLanguageFile sizeSubmit timeJudge time
#342479#8236. Snake MoveMonsterstarCompile Error//C++172.3kb2024-03-01 11:37:212024-03-01 11:37:21

Details

answer.code:25:20: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
   25 | int num[N][N],x[1e5+10],y[1e5+10];
      |                 ~~~^~~
answer.code:25:20: error: could not convert ‘(1.0e+5 + (double)10)’ from ‘double’ to ‘long unsigned int’
   25 | int num[N][N],x[1e5+10],y[1e5+10];
      |                 ~~~^~~
      |                    |
      |                    double
answer.code:25:20: error: size of array ‘x’ has non-integral type ‘double’
answer.code:25:30: error: conversion from ‘double’ to ‘long unsigned int’ in a converted constant expression
   25 | int num[N][N],x[1e5+10],y[1e5+10];
      |                           ~~~^~~
answer.code:25:30: error: could not convert ‘(1.0e+5 + (double)10)’ from ‘double’ to ‘long unsigned int’
   25 | int num[N][N],x[1e5+10],y[1e5+10];
      |                           ~~~^~~
      |                              |
      |                              double
answer.code:25:30: error: size of array ‘y’ has non-integral type ‘double’