結果
問題 | No.744 循環小数N桁目 Easy |
ユーザー |
|
提出日時 | 2021-07-28 16:32:00 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 113 bytes |
コンパイル時間 | 395 ms |
コンパイル使用メモリ | 27,136 KB |
実行使用メモリ | 6,944 KB |
最終ジャッジ日時 | 2024-09-13 12:59:13 |
合計ジャッジ時間 | 952 ms |
ジャッジサーバーID (参考情報) |
judge4 / 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]); }