結果
問題 | No.1591 Two Digits |
ユーザー |
|
提出日時 | 2021-07-09 21:22:08 |
言語 | C++17 (gcc 13.3.0 + boost 1.87.0) |
結果 |
AC
|
実行時間 | 1 ms / 1,000 ms |
コード長 | 148 bytes |
コンパイル時間 | 152 ms |
コンパイル使用メモリ | 26,752 KB |
最終ジャッジ日時 | 2025-01-22 20:26:15 |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 17 |
コンパイルメッセージ
main.cpp: In function ‘int main()’: main.cpp:5:10: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%u", &N); | ~~~~~^~~~~~~~~~
ソースコード
#include<cstdio> int main(){ unsigned N; scanf("%u", &N); if(N >= 10 && N < 100) printf("Yes\n"); else printf("No\n"); return 0; }