Home => ProblemSet => 2.12-19:读程序给结果
Problem1500--2.12-19:读程序给结果

1500: 2.12-19:读程序给结果

Time Limit: 1 Sec  Memory Limit: 128 MB  Submit: 0  Solved: 6
[ Submit ] [ Status ] [ Creator: ][ 参考程序 ]

Description

#include <stdio.h>
int main() {
    int x = (1 << 31) | (1 << 30) | 1;
    int y = (1 << 31) | (1 << 30) | (1 << 29);
    printf("%d\n", (x >> 1) / y);
    return 0;
}
阅读本段程序,给出计算结果

Input

Output

一个整数,表示程序计算结果

Source/Category