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_39572321_23271.cpp:3:14: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    3 | #define N 2e5+10
      |           ~~~^~~
0_0_39572321_23271.cpp:4:7: note: in expansion of macro 'N'
    4 | int a[N],b[N];
      |       ^
0_0_39572321_23271.cpp:3:14: error: could not convert '(2.0e+5 + (double)10)' from 'double' to 'long long unsigned int'
    3 | #define N 2e5+10
      |           ~~~^~~
      |              |
      |              double
0_0_39572321_23271.cpp:4:7: note: in expansion of macro 'N'
    4 | int a[N],b[N];
      |       ^
0_0_39572321_23271.cpp:3:14: error: size of array 'a' has non-integral type 'double'
    3 | #define N 2e5+10
      |           ~~~^~~
0_0_39572321_23271.cpp:4:7: note: in expansion of macro 'N'
    4 | int a[N],b[N];
      |       ^
0_0_39572321_23271.cpp:3:14: error: conversion from 'double' to 'long long unsigned int' in a converted constant expression
    3 | #define N 2e5+10
      |           ~~~^~~
0_0_39572321_23271.cpp:4:12: note: in expansion of macro 'N'
    4 | int a[N],b[N];
      |            ^
0_0_39572321_23271.cpp:3:14: error: could not convert '(2.0e+5 + (double)10)' from 'double' to 'long long unsigned int'
    3 | #define N 2e5+10
      |           ~~~^~~
      |              |
      |              double
0_0_39572321_23271.cpp:4:12: note: in expansion of macro 'N'
    4 | int a[N],b[N];
      |            ^
0_0_39572321_23271.cpp:3:14: error: size of array 'b' has non-integral type 'double'
    3 | #define N 2e5+10
      |           ~~~^~~
0_0_39572321_23271.cpp:4:12: note: in expansion of macro 'N'
    4 | int a[N],b[N];
      |            ^


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-09-20 23:27:17, Gzip enabled