結果
| 問題 | 
                            No.552 十分簡単な星1の問題
                             | 
                    
| コンテスト | |
| ユーザー | 
                             | 
                    
| 提出日時 | 2017-08-27 19:52:01 | 
| 言語 | C++11(廃止可能性あり)  (gcc 13.3.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 170 bytes | 
| コンパイル時間 | 1,423 ms | 
| コンパイル使用メモリ | 156,528 KB | 
| 実行使用メモリ | 6,824 KB | 
| 最終ジャッジ日時 | 2024-11-06 06:56:18 | 
| 合計ジャッジ時間 | 2,718 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 44 WA * 3 | 
コンパイルメッセージ
main.cpp: In function ‘int main(int, char**)’:
main.cpp:9:13: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 2 has type ‘long unsigned int*’ [-Wformat=]
    9 |   scanf("%lld",&N);
      |          ~~~^  ~~
      |             |  |
      |             |  long unsigned int*
      |             long long int*
      |          %ld
main.cpp:10:14: warning: format ‘%lld’ expects argument of type ‘long long int’, but argument 2 has type ‘long unsigned int’ [-Wformat=]
   10 |   printf("%lld",N*10);
      |           ~~~^  ~~~~
      |              |   |
      |              |   long unsigned int
      |              long long int
      |           %ld
main.cpp:9:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |   scanf("%lld",&N);
      |   ~~~~~^~~~~~~~~~~
            
            ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(int argc, char **argv) 
{
  unsigned long N;         
  scanf("%lld",&N);
  printf("%lld",N*10);
  return 0;
}