結果
問題 |
No.495 (^^*) Easy
|
ユーザー |
![]() |
提出日時 | 2020-03-06 16:14:37 |
言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 249 bytes |
コンパイル時間 | 1,524 ms |
コンパイル使用メモリ | 165,896 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-14 02:53:11 |
合計ジャッジ時間 | 1,897 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 1 WA * 6 |
ソースコード
#include <bits/stdc++.h> #define INF 990000000 //12 using namespace std; int main() { int re=0; int bl=0; string n; for(int i=0;i<3;i++){ cin>>n; if(n.compare("(^^*)")==0)re++; if(n.compare("(*^^)")==0)bl++; } cout <<re<<" "<<bl<<endl; }