結果

問題 No.35 タイパー高橋
ユーザー focusfocus
提出日時 2018-01-30 17:15:03
言語 C++11
(gcc 11.4.0)
結果
WA  
実行時間 -
コード長 343 bytes
コンパイル時間 455 ms
コンパイル使用メモリ 63,996 KB
実行使用メモリ 4,380 KB
最終ジャッジ日時 2023-08-28 16:39:20
合計ジャッジ時間 971 ms
ジャッジサーバーID
(参考情報)
judge15 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<algorithm>
#include<cstdio>
#include<cmath>
using namespace std;
int main(){
    string s;
    long long N,n,num,sum=0;
    cin >> N;
    while(N--){
        cin >> n >> s;
        num = ((n-1)/1000*12)+1;
        if((s.size()-num)>0)    sum+=(s.size()-num);
    }
    cout << sum;
    return 0;
}
0