結果

問題 No.299 蟻本が読めない
ユーザー Haijinn
提出日時 2016-10-18 21:30:16
言語 C90
(gcc 12.3.0)
結果
TLE  
実行時間 -
コード長 135 bytes
コンパイル時間 768 ms
コンパイル使用メモリ 19,584 KB
実行使用メモリ 11,776 KB
最終ジャッジ日時 2024-11-22 12:41:38
合計ジャッジ時間 7,503 ms
ジャッジサーバーID
(参考情報)
judge3 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 TLE * 3
権限があれば一括ダウンロードができます
コンパイルメッセージ
main.c: In function ‘main’:
main.c:6:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    6 |         scanf("%d",&n);
      |         ^~~~~~~~~~~~~~

ソースコード

diff #

#include <stdio.h>

int main(void)
{
	int n;
	scanf("%d",&n);
	int t=316;
	while(n>1){
		
		t=t+52;
		
	}
	printf("%d",t);
	return 0;
}
0