|
|
вернуться в форумwhere is my mistake (С/С++) #include "stdio.h" int main() { unsigned long long int totalQuantity=0; scanf("%u",&totalQuantity); printf("%u\n",(totalQuantity%7)); return 0; } Re: where is my mistake (С/С++) unsigned long long is not bigger than 18446744073709551615 < 10^20. In this problem 1<="totalQuantity"<=10^50. And if you want read unsigned long long you must write scanf("%I64u",&n); |
|
|