結果
| 問題 | No.374 コイン |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-03-20 17:34:11 |
| 言語 | C++14 (gcc 15.2.0 + boost 1.89.0) |
| 結果 |
CE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 123 bytes |
| 記録 | |
| コンパイル時間 | 253 ms |
| コンパイル使用メモリ | 62,024 KB |
| 最終ジャッジ日時 | 2026-04-07 03:57:06 |
| 合計ジャッジ時間 | 2,140 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_1 |
(要ログイン)
コンパイルエラー時のメッセージ・ソースコードは、提出者また管理者しか表示できないようにしております。(リジャッジ後のコンパイルエラーは公開されます)
ただし、clay言語の場合は開発者のデバッグのため、公開されます。
ただし、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>'; this is probably fixable by adding '#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);
| ^
ソースコード
#include <iostream>
int main() {
uint64_t a,b;
scanf("%li%li",&a,&b);
puts(a < b ? "K" : "S");
return 0;
}