結果
| 問題 | No.138 化石のバージョン |
| コンテスト | |
| ユーザー |
k82b
|
| 提出日時 | 2023-12-08 01:22:48 |
| 言語 | C90(gcc12) (gcc 12.4.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 122 bytes |
| 記録 | |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 28,488 KB |
| 実行使用メモリ | 7,848 KB |
| 最終ジャッジ日時 | 2026-03-08 16:36:03 |
| 合計ジャッジ時間 | 705 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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