結果
問題 |
No.313 π
|
ユーザー |
![]() |
提出日時 | 2017-05-16 09:08:08 |
言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 439 bytes |
コンパイル時間 | 1,567 ms |
コンパイル使用メモリ | 158,504 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-09-16 16:11:12 |
合計ジャッジ時間 | 3,370 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 2 |
other | WA * 32 |
ソースコード
#include"bits/stdc++.h" #include<fstream> //#include<bits/stdc++.h> using namespace std; #define print(x) cout<<x<<endl; #define rep(i,a,b) for(int i=a;i<b;i++) typedef long long ll; const ll mod = 2000000; #define pi 3.141592 int main() { int a[10] = { 20104,20063,19892,20011,19874,20199,19898,20163,19956,19841 }; string s; cin >> s; int count[10] = {}; rep(i, 0, 10) { rep(j, 0, 200002) { if (i == s[j])count[i]++; } } }