結果
| 問題 |
No.1942 Leading zero
|
| コンテスト | |
| ユーザー |
LV3zJigVW57oPGy
|
| 提出日時 | 2022-08-15 15:35:01 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 300 bytes |
| コンパイル時間 | 1,483 ms |
| コンパイル使用メモリ | 158,744 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-02 04:05:41 |
| 合計ジャッジ時間 | 2,040 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 2 |
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main() {
int a;
cin >> a;
for(int i=0; i<a; i++){
string b;
cin>> b;
for(int j=0; j<5; j++){
if(b.at(j) == '0'){
b.at(j) = false;
}
else{
break;
}
}
cout << b << endl;
}
}
LV3zJigVW57oPGy