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_39734059_11661.cpp:6:6: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    6 | } ig[1e5];
      |      ^~~
0_0_39734059_11661.cpp:6:6: error: could not convert '1.0e+5' from 'double' to 'long long unsigned int'
    6 | } ig[1e5];
      |      ^~~
      |      |
      |      double
0_0_39734059_11661.cpp:6:6: error: size of array 'ig' has non-integral type 'double'
0_0_39734059_11661.cpp:8:10: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    8 | bool vis[1e5];
      |          ^~~
0_0_39734059_11661.cpp:8:10: error: could not convert '1.0e+5' from 'double' to 'long long unsigned int'
    8 | bool vis[1e5];
      |          ^~~
      |          |
      |          double
0_0_39734059_11661.cpp:8:10: error: size of array 'vis' has non-integral type 'double'


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-01 10:20:45, Gzip enabled