2024-09-14 06:09:26 +00:00
|
|
|
#include <stdio.h>
|
|
|
|
int main() {
|
|
|
|
printf("%d\n", (int)-1.0);
|
|
|
|
double d = -1.0;
|
|
|
|
printf("%d\n", (int)d);
|
|
|
|
|
|
|
|
printf("%d\n", (int)-2147483648.0);
|
|
|
|
d = -2147483648.0;
|
|
|
|
printf("%d\n", (int)d);
|
2024-12-30 04:19:01 +00:00
|
|
|
|
|
|
|
printf("%llu\n", (unsigned long long)1e19);
|
2024-09-14 06:09:26 +00:00
|
|
|
}
|