結果
問題 | No.932 解法破綻!高橋君 |
ユーザー |
![]() |
提出日時 | 2019-11-29 21:44:13 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 9 ms / 2,000 ms |
コード長 | 711 bytes |
コンパイル時間 | 1,530 ms |
コンパイル使用メモリ | 166,104 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-11-20 21:45:18 |
合計ジャッジ時間 | 2,282 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 20 |
ソースコード
#include <bits/stdc++.h> using namespace std; #define int long long #define rep(i,n) for(int (i)=0;(i)<(n);(i)++) #define rrep(i,n) for(int (i)=((n)-1);(i)>=0;(i)--) #define itn int #define all(x) (x).begin(),(x).end() #define F first #define S second const long long INF = 1LL << 60; const int MOD = 1000000007; template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; } template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } signed main(void){ string s; cin>>s; for(int i=0;i<s.size(); i+=3){ //cout<<s[i]<<endl; if(s[i] != 'A') {cout<<"Failed..."<<endl; return 0;} } cout<<"Done!"<<endl; }