結果
| 問題 | No.744 循環小数N桁目 Easy |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-07-28 16:32:00 |
| 言語 | C(gnu17) (gcc 15.2.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 2,000 ms |
| コード長 | 113 bytes |
| 記録 | |
| コンパイル時間 | 302 ms |
| コンパイル使用メモリ | 36,588 KB |
| 最終ジャッジ日時 | 2026-02-22 07:39:50 |
|
ジャッジサーバーID (参考情報) |
judge1 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 7 |
コンパイルメッセージ
main.c:1:18: warning: extra tokens at end of '#include' directive
1 | #include<stdio.h>;
| ^
ソースコード
#include<stdio.h>;
int main() {
int a[7] = { 4,2,8,5,7,1 };
int N;
scanf("%d", &N);
printf("%d", a[N % 6]);
}