結果
| 問題 | No.35 タイパー高橋 |
| コンテスト | |
| ユーザー |
chacoder1
|
| 提出日時 | 2020-11-22 12:26:14 |
| 言語 | C++17 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 2 ms / 5,000 ms |
| + 724µs | |
| コード長 | 362 bytes |
| 記録 | |
| コンパイル時間 | 1,031 ms |
| コンパイル使用メモリ | 213,356 KB |
| 実行使用メモリ | 9,900 KB |
| 最終ジャッジ日時 | 2026-10-11 05:44:23 |
| 合計ジャッジ時間 | 2,040 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 5 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
int n;
cin>>n;
int correct_type=0;
int incorrect_type=0;
for(int i=0;i<n;i++){
int t;
string s;
cin>>t>>s;
int len=s.length();
incorrect_type+=len-min(len,12*t/1000);
correct_type+=min(len,12*t/1000);
}
cout<<correct_type<<" "<<incorrect_type<<endl;
return 0;
}
chacoder1