結果

問題 No.1415 100の倍数かつ正整数(1)
ユーザー LV3zJigVW57oPGyLV3zJigVW57oPGy
提出日時 2022-11-02 16:12:37
言語 C++11
(gcc 13.3.0)
結果
WA  
実行時間 -
コード長 240 bytes
コンパイル時間 1,270 ms
コンパイル使用メモリ 158,168 KB
実行使用メモリ 6,948 KB
最終ジャッジ日時 2024-07-17 05:21:21
合計ジャッジ時間 2,237 ms
ジャッジサーバーID
(参考情報)
judge3 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 11
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h> 
using namespace std;
#include <ios>
#include <iomanip>
#include <iostream>
#include <string>
#include <algorithm>


int main(){
  int a;
  cin>>a;
  if((a>0)&&(a%100==0)){
    a=a/100;
  }
  else a=0;
  cout <<a;
}
0