結果
| 問題 | No.3497 Sign up for traP |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-04-18 12:03:20 |
| 言語 | C++23 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 486 bytes |
| 記録 | |
| コンパイル時間 | 2,422 ms |
| コンパイル使用メモリ | 331,188 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-04-18 12:03:24 |
| 合計ジャッジ時間 | 2,827 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 |
| other | AC * 11 WA * 7 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, j, N) for (int i = j; i < N; i++)
string S;
int main() {
cin >> S;
bool ok = true;
for (auto c : S) {
int s = c - 'a', b = c - 'A', n = c - '0';
if ((0 <= s && s <= 25) ||
(0 <= b && b <= 25) ||
(0 <= n && n <= 9) ||
c == '_' || c == '-') continue;
ok = false;
}
cout << (ok ? 200 : 400) << endl;
return 0;
}