結果
| 問題 | No.8077 🔧 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-04-01 20:41:30 |
| 言語 | C++17 (gcc 15.2.0 + boost 1.90.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 622 bytes |
| 記録 | |
| コンパイル時間 | 1,249 ms |
| コンパイル使用メモリ | 214,924 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-06-19 07:00:49 |
| 合計ジャッジ時間 | 2,139 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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;
}
}
}