結果
| 問題 |
No.1415 100の倍数かつ正整数(1)
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-05-23 00:59:40 |
| 言語 | C++11(廃止可能性あり) (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 263 bytes |
| コンパイル時間 | 1,268 ms |
| コンパイル使用メモリ | 159,132 KB |
| 実行使用メモリ | 6,824 KB |
| 最終ジャッジ日時 | 2024-10-11 01:17:42 |
| 合計ジャッジ時間 | 2,164 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 17 WA * 7 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
int main(){
string s;
cin >> s;
int ss = s.size();
if(ss>=3){
for(int i=0; i<ss-3; i++) cout << s[i];
char ans = s[ss-3];
cout << ans << endl;
}
else cout << 0 << endl;
}