結果
| 問題 |
No.8077 🔧
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-01 20:41:30 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 622 bytes |
| コンパイル時間 | 3,072 ms |
| コンパイル使用メモリ | 196,760 KB |
| 最終ジャッジ日時 | 2025-01-20 05:49:22 |
|
ジャッジサーバーID (参考情報) |
judge1 / 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();
if('0'<=s.back() and s.back()<='9'){
int n=s.size();
cout << s[n-2] << s[n-1] << endl;
}
}
}