#45721: 有人知道為甚麼TLE嗎?


yp11351280@yphs.tp.edu.tw (810-43韓睿哲)


#include<bits/stdc++.h>
using namespace std;
int main(){
    int a,c,l=0;
    while(cin>>a&&a>0){
        l++;
        while(2^c<=a){
            c++;
        }
        cout<<"Case "<<l<<": "<<c<<endl;
    }

#51861: Re: 有人知道為甚麼TLE嗎?


kenny980721.tu@gmail.com (有事直接私)


    int a,c,l=0;

c沒設初始值