結果
| 問題 |
No.1841 Long Long
|
| コンテスト | |
| ユーザー |
👑 potato167
|
| 提出日時 | 2021-12-05 19:04:06 |
| 言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
AC
|
| 実行時間 | 2 ms / 2,000 ms |
| コード長 | 115 bytes |
| コンパイル時間 | 741 ms |
| コンパイル使用メモリ | 64,768 KB |
| 最終ジャッジ日時 | 2025-01-26 05:25:41 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
コンパイルメッセージ
main.cpp: In function ‘int main()’:
main.cpp:5:14: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
5 | scanf("%d",&N);
| ~~~~~^~~~~~~~~
ソースコード
#include <iostream>
int main() {
int N;
scanf("%d",&N);
while(N){
printf("Long");
N--;
}
printf("\n");
}
potato167