結果

問題 No.374 コイン
ユーザー firiexp
提出日時 2019-03-20 17:34:11
言語 C++14
(gcc 13.3.0 + boost 1.87.0)
結果
CE  
(最新)
AC  
(最初)
実行時間 -
コード長 123 bytes
コンパイル時間 675 ms
コンパイル使用メモリ 52,236 KB
最終ジャッジ日時 2025-03-25 06:25:57
合計ジャッジ時間 1,588 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。

コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:3:5: error: ‘uint64_t’ was not declared in this scope
    3 |     uint64_t a,b;
      |     ^~~~~~~~
main.cpp:2:1: note: ‘uint64_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>’?
    1 | #include <iostream>
  +++ |+#include <cstdint>
    2 | int main() {
main.cpp:4:21: error: ‘a’ was not declared in this scope
    4 |     scanf("%li%li",&a,&b);
      |                     ^
main.cpp:4:24: error: ‘b’ was not declared in this scope
    4 |     scanf("%li%li",&a,&b);
      |                        ^

ソースコード

diff #

#include <iostream>
int main() {
    uint64_t a,b;
    scanf("%li%li",&a,&b);
    puts(a < b ? "K" : "S");
    return 0;
}
0