結果
| 問題 | No.544 Delete 7 |
| コンテスト | |
| ユーザー |
ianlinathome
|
| 提出日時 | 2017-11-10 06:23:34 |
| 言語 | C++11 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 1,000 ms |
| コード長 | 264 bytes |
| 記録 | |
| コンパイル時間 | 197 ms |
| コンパイル使用メモリ | 38,912 KB |
| 実行使用メモリ | 6,400 KB |
| 最終ジャッジ日時 | 2026-05-15 20:13:57 |
| 合計ジャッジ時間 | 1,929 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 4 |
| other | AC * 48 |
ソースコード
#include <stdio.h>
int main(){
int a=0,c,temp,len=1;
scanf("%d",&c);
temp=c;
temp/=10;
while(temp){
len*=10;
temp/=10;
}
while(len){
if((c/len)%10==7)a+=len;
len/=10;
}
printf("%d %d\n",a,c-a);
}
ianlinathome