CodeChef submission 136807 (C++ 4.3.2) plaintext list. Status: WA, problem SNCK04, contest SNACKDWN. By intelligentia (intelligentia), 2009-11-21 23:59:37.
#include<stdio.h> int main(){ int n; while(n){ int t; int sum; else{ int temp = t; int i = -1; while(temp) {temp = temp/2;i++;} int ans = i*t; if((1<<i) == t) ans--; } n--; } return 0; }
Comments

