結果
問題 | No.2878 𝕀𝔾ℕ𝕀𝕋𝕀𝕆ℕ |
ユーザー |
![]() |
提出日時 | 2024-09-09 15:06:26 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 383 bytes |
コンパイル時間 | 224 ms |
コンパイル使用メモリ | 39,680 KB |
最終ジャッジ日時 | 2025-02-24 06:19:02 |
ジャッジサーバーID (参考情報) |
judge2 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 8 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:25:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 25 | scanf("%d", &i), i--; | ~~~~~^~~~~~~~~~
ソースコード
/* -*- coding: utf-8 -*- * * 2878.cc: No.2878 斧叛邃呆摯赴斧膚邃・- yukicoder */ #include<cstdio> #include<algorithm> using namespace std; /* constant */ const char s[] = "IGNITION"; /* typedef */ /* global variables */ /* subroutines */ /* main */ int main() { int i; scanf("%d", &i), i--; putchar(s[i]); putchar('\n'); return 0; }