結果
| 問題 |
No.1942 Leading zero
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-05-20 21:40:30 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 392 bytes |
| コンパイル時間 | 950 ms |
| コンパイル使用メモリ | 94,808 KB |
| 実行使用メモリ | 6,944 KB |
| 最終ジャッジ日時 | 2024-09-20 07:36:51 |
| 合計ジャッジ時間 | 1,221 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 WA * 1 |
| other | WA * 1 |
ソースコード
#include <iostream>
#include <algorithm>
#include <vector>
#include <string>
#include <map>
#include <set>
#include <fstream>
#include <cmath>
#include <stack>
#include <queue>
#include <iomanip>
using namespace std;
int main(){
int n;cin>>n;
for(int i=0;i<n;i++){
string s;cin>>s;
int j=0;
while(s[j]=='0') j++;
while(j<s.size()) cout << s[j++];
cout << endl;
}
}