結果
問題 | No.9001 標準入出力の練習問題(テスト用) |
ユーザー |
|
提出日時 | 2016-07-17 18:40:39 |
言語 | C90 (gcc 11.4.0) |
結果 |
AC
|
実行時間 | 0 ms / 1,000 ms |
コード長 | 143 bytes |
コンパイル時間 | 116 ms |
コンパイル使用メモリ | 20,096 KB |
実行使用メモリ | 6,940 KB |
最終ジャッジ日時 | 2024-04-23 15:05:37 |
合計ジャッジ時間 | 458 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 0 ms
6,812 KB |
testcase_01 | AC | 0 ms
6,940 KB |
コンパイルメッセージ
main.c: In function ‘main’: main.c:7:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 7 | scanf("%d %d",&A,&B); | ^~~~~~~~~~~~~~~~~~~~ main.c:8:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%s",str); | ^~~~~~~~~~~~~~~
ソースコード
#include <stdio.h> int main(void) { int A,B; char str[10]; scanf("%d %d",&A,&B); scanf("%s",str); printf("%d %s\n",A+B,str); return 0; }