結果
| 問題 |
No.299 蟻本が読めない
|
| コンテスト | |
| ユーザー |
tsukacchan
|
| 提出日時 | 2016-03-28 19:20:25 |
| 言語 | C90 (gcc 12.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 150 bytes |
| コンパイル時間 | 122 ms |
| コンパイル使用メモリ | 20,224 KB |
| 実行使用メモリ | 6,820 KB |
| 最終ジャッジ日時 | 2024-10-02 06:41:48 |
| 合計ジャッジ時間 | 610 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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(void){
long long int N;
long long int page=316;
scanf("%lld",&N);
page += (N-1)*52;
printf("%lld",page);
return 0;
}
tsukacchan