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_39199722_13407.cpp:5:10: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    5 | int s[3e5*2];
      |       ~~~^~
0_0_39199722_13407.cpp:5:10: error: could not convert '(3.0e+5 * (double)2)' from 'double' to 'long long unsigned int'
    5 | int s[3e5*2];
      |       ~~~^~
      |          |
      |          double
0_0_39199722_13407.cpp:5:10: error: size of array 's' has non-integral type 'double'
0_0_39199722_13407.cpp:6:10: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    6 | int c[3e5*2];
      |       ~~~^~
0_0_39199722_13407.cpp:6:10: error: could not convert '(3.0e+5 * (double)2)' from 'double' to 'long long unsigned int'
    6 | int c[3e5*2];
      |       ~~~^~
      |          |
      |          double
0_0_39199722_13407.cpp:6:10: error: size of array 'c' has non-integral type 'double'
0_0_39199722_13407.cpp:7:10: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    7 | int d[3e5*2];
      |       ~~~^~
0_0_39199722_13407.cpp:7:10: error: could not convert '(3.0e+5 * (double)2)' from 'double' to 'long long unsigned int'
    7 | int d[3e5*2];
      |       ~~~^~
      |          |
      |          double
0_0_39199722_13407.cpp:7:10: error: size of array 'd' has non-integral type 'double'


Hangzhou Dianzi University Online Judge 3.0
Copyright © 2005-2025 HDU ACM Team. All Rights Reserved.
Designer & Developer : Wang Rongtao LinLe GaoJie GanLu
Total 0.000000(s) query 1, Server time : 2025-02-17 07:26:01, Gzip enabled