結果
問題 |
No.746 7の倍数
|
ユーザー |
![]() |
提出日時 | 2019-06-22 21:43:11 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 406 bytes |
コンパイル時間 | 1,172 ms |
コンパイル使用メモリ | 27,776 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-12-26 10:16:55 |
合計ジャッジ時間 | 5,701 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 2 |
other | WA * 1 RE * 19 |
ソースコード
#include <stdio.h> int main(){ int N; scanf("%d",&N); char ans[105]={"1428571428571428571428571428571428571428571428571428571428571428571428571428571428571428571428571428"}; if(N==0){ printf("0\n"); return 0; } int i; printf("."); for(i=0;i<N;i++){ printf("%c",ans[i]); } printf("\n"); return 0; }