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_39522876_1454.cpp:12:10: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
   12 | int f[1e6+9]={1};
      |       ~~~^~
0_0_39522876_1454.cpp:12:10: error: could not convert '(1.0e+6 + (double)9)' from 'double' to 'long long unsigned int'
   12 | int f[1e6+9]={1};
      |       ~~~^~
      |          |
      |          double
0_0_39522876_1454.cpp:12:10: error: size of array 'f' 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-28 23:12:42, Gzip enabled