F.A.Q
Hand In Hand
Online Acmers
Problem Archive
Realtime Judge Status
Authors Ranklist
 
     C/C++/Java Exams     
ACM Steps
Go to Job
Contest LiveCast
ICPC@China
Best Coder beta
VIP | STD Contests
    DIY | Web-DIY beta
Author ID 
Password 
 Register new ID

View Compilation Error

0_0_39793735_6440.cpp:3:13: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    3 | bool vis[1e6+5];
      |          ~~~^~
0_0_39793735_6440.cpp:3:13: error: could not convert '(1.0e+6 + (double)5)' from 'double' to 'long long unsigned int'
    3 | bool vis[1e6+5];
      |          ~~~^~
      |             |
      |             double
0_0_39793735_6440.cpp:3:13: error: size of array 'vis' has non-integral type 'double'
0_0_39793735_6440.cpp:13:7: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
   13 | }a[1e6+5];
      |    ~~~^~
0_0_39793735_6440.cpp:13:7: error: could not convert '(1.0e+6 + (double)5)' from 'double' to 'long long unsigned int'
   13 | }a[1e6+5];
      |    ~~~^~
      |       |
      |       double
0_0_39793735_6440.cpp:13:7: error: size of array 'a' has non-integral type 'double'
0_0_39793735_6440.cpp: In function 'int main()':
0_0_39793735_6440.cpp:23:17: error: 'me' was not declared in this scope
   23 |         int s=0;me(vis,0);
      |                 ^~


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2024 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2024-12-05 10:23:42, Gzip enabled