結果
| 問題 |
No.8077 🔧
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-01 20:47:47 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 675 bytes |
| コンパイル時間 | 1,869 ms |
| コンパイル使用メモリ | 197,476 KB |
| 最終ジャッジ日時 | 2025-01-20 05:55:59 |
|
ジャッジサーバーID (参考情報) |
judge5 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | WA * 10 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef unsigned long long ull;
mt19937_64 rng(chrono::steady_clock::now().time_since_epoch().count());
ll myRand(ll B) {
return (ull)rng() % B;
}
#include <filesystem>
#include <unistd.h>
using std::filesystem::current_path;
using std::filesystem::directory_iterator;
int main(){
cin.tie(nullptr);
ios::sync_with_stdio(false);
for(auto& p: directory_iterator("./")){
string s=p.path();
// cout << s << endl;
int n=s.size();
if('0'<=s[n-5] and s[n-5]<='9'){
// int n=s.size();
cout << s[n-6] << s[n-5] << endl;
}
}
}