結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
k82b
|
| 提出日時 | 2023-12-08 01:22:48 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 122 bytes |
| 記録 | |
| コンパイル時間 | 37 ms |
| コンパイル使用メモリ | 27,776 KB |
| 実行使用メモリ | 5,888 KB |
| 最終ジャッジ日時 | 2026-07-28 02:43:37 |
| 合計ジャッジ時間 | 1,579 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 33 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:3:9: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch]
3 | scanf("%d.%d.%d\n%d.%d.%d",&a,&b,&c,&d,&e,&f);
| ^~~~~
main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’
+++ |+#include <stdio.h>
1 | main(a,b,c,d,e,f)
ソースコード
main(a,b,c,d,e,f)
{
scanf("%d.%d.%d\n%d.%d.%d",&a,&b,&c,&d,&e,&f);
puts(a>d||a==d&&b>e||a==d&&b==e&&c>=f?"YES":"NO");
}
k82b