Jul. 28th, 2012

gegmopo4: (Default)

Задачка для младших инженеров-программистов электронно-вычислительных машин.

C:

#include <math.h>
#include <stdio.h>
int main()
{
    printf("%d\n", (pow(43, 10) == 21611482313284249ll));
    return 0;
}

Python:

import math
print(math.pow(43, 10) == 21611482313284249)

Вопрос: что выведется и почему?

Profile

gegmopo4: (Default)
gegmopo4

November 2017

S M T W T F S
   1234
567891011
12131415161718
19202122232425
262728 2930  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Mar. 29th, 2026 02:23 pm
Powered by Dreamwidth Studios