結果
| 問題 | 
                            No.1942 Leading zero
                             | 
                    
| コンテスト | |
| ユーザー | 
                             yukster714
                         | 
                    
| 提出日時 | 2023-04-19 20:05:29 | 
| 言語 | Perl  (5.40.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 11 ms / 2,000 ms | 
| コード長 | 164 bytes | 
| コンパイル時間 | 526 ms | 
| コンパイル使用メモリ | 5,632 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-14 22:28:08 | 
| 合計ジャッジ時間 | 714 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge4 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 2 | 
| other | AC * 1 | 
コンパイルメッセージ
Main.pl syntax OK
ソースコード
chomp ($n = <>);
while($n--){
    chomp ($_ = <>);
    if ($ _ eq "00000"){
        print "0";
    } else {
        s/^0*//;
        print;
    }
    print "\n";
}
            
            
            
        
            
yukster714