結果
| 問題 |
No.299 蟻本が読めない
|
| コンテスト | |
| ユーザー |
Haijinn
|
| 提出日時 | 2017-08-02 23:02:23 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 183 bytes |
| コンパイル時間 | 292 ms |
| コンパイル使用メモリ | 20,096 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-10-11 06:01:05 |
| 合計ジャッジ時間 | 700 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 4 |
コンパイルメッセージ
main.c: In function ‘main’:
main.c:8:1: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
8 | scanf("%lld",&n);
| ^~~~~~~~~~~~~~~~
ソースコード
#include<stdio.h>
int main(){
unsigned long long n;
unsigned long long i;
unsigned long long t=316;
scanf("%lld",&n);
for(i=1;i<n;i++){
t+=52;
}
printf("%lld\n",t);
return 0;
}
Haijinn