結果
| 問題 |
No.842 初詣
|
| コンテスト | |
| ユーザー |
funakoshi
|
| 提出日時 | 2019-08-29 10:24:27 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 340 bytes |
| コンパイル時間 | 116 ms |
| コンパイル使用メモリ | 29,952 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-11-17 16:48:55 |
| 合計ジャッジ時間 | 716 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 WA * 3 |
ソースコード
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <stdbool.h>
#include <math.h>
int main(void)
{
int a,b,c,d,e,f,g,money;
scanf("%d %d %d %d %d %d %d",&a,&b,&c,&d,&e,&f,&g);
money=a*500+b*100+c*50+d*10+e*5+f;
if(money>=g)
{
printf("YES");
}
else
{
printf("NO");
}
}
funakoshi