結果
| 問題 | 
                            No.9001 標準入出力の練習問題(テスト用)
                             | 
                    
| ユーザー | 
                             4A9GN
                         | 
                    
| 提出日時 | 2016-07-16 21:52:57 | 
| 言語 | C90  (gcc 12.3.0)  | 
                    
| 結果 | 
                             
                                AC
                                 
                             
                            
                         | 
                    
| 実行時間 | 0 ms / 1,000 ms | 
| コード長 | 211 bytes | 
| コンパイル時間 | 108 ms | 
| コンパイル使用メモリ | 20,224 KB | 
| 実行使用メモリ | 5,248 KB | 
| 最終ジャッジ日時 | 2024-10-15 13:58:55 | 
| 合計ジャッジ時間 | 631 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| other | AC * 2 | 
コンパイルメッセージ
main.c: In function ‘main’:
main.c:8:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    8 |     scanf("%d %d", &A, &B);
      |     ^~~~~~~~~~~~~~~~~~~~~~
main.c:9:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result]
    9 |     scanf("%s", s);
      |     ^~~~~~~~~~~~~~
            
            ソースコード
#include <stdio.h>
#include <string.h>
int main(int argc, char *argv[]) {
    int A, B;
    char s[10];
    
    scanf("%d %d", &A, &B);
    scanf("%s", s);
    
    printf("%d %s", A + B, s);
    return 0;
}
            
            
            
        
            
4A9GN