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_39507081_2663.cpp:30:13: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
   30 | int cnt[1e6 + 10];
      |         ~~~~^~~~
0_0_39507081_2663.cpp:30:13: error: could not convert '(1.0e+6 + (double)10)' from 'double' to 'long long unsigned int'
   30 | int cnt[1e6 + 10];
      |         ~~~~^~~~
      |             |
      |             double
0_0_39507081_2663.cpp:30:13: error: size of array 'cnt' 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-11-13 11:45:46, Gzip enabled