結果
| 問題 | No.3402 [Cherry Anniversary 5] Beyond Zelkova, the 5th year vista seen through the bloom of a cherry bloosom |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2025-12-12 21:19:38 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 306 bytes |
| 記録 | |
| コンパイル時間 | 330 ms |
| コンパイル使用メモリ | 82,716 KB |
| 実行使用メモリ | 79,372 KB |
| 最終ジャッジ日時 | 2025-12-12 21:19:46 |
| 合計ジャッジ時間 | 7,703 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 22 RE * 2 |
ソースコード
from datetime import date
ys,ms,ds=map(int,input().split())
ye,me,de=map(int,input().split())
b=date(ye,me,de)-date(ys,ms,ds-1)
Q=int(input())
for _ in range(Q):
y,m,d=map(int,input().split())
a=date(y,m,d)-date(ye,me,de)
if a<b:print("Less")
elif a==b:print("Same")
else:print("More")