結果

問題 No.495 (^^*) Easy
ユーザー kotatsugame
提出日時 2017-03-24 22:23:29
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 152 bytes
コンパイル時間 552 ms
コンパイル使用メモリ 64,980 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-07-06 02:31:55
合計ジャッジ時間 807 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 7
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.cpp:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main()
      | ^~~~

ソースコード

diff #

#include<iostream>
using namespace std;
main()
{
	string t;cin>>t;int cnt=0;
	for(int i=0;i<t.length();i++)
	{
		cnt+=t[i]=='(';
	}
	cout<<cnt<<endl;
}
0