結果
問題 |
No.1249 小学校1年生の夢
|
ユーザー |
|
提出日時 | 2021-04-22 00:07:10 |
言語 | C (gcc 13.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 277 bytes |
コンパイル時間 | 168 ms |
コンパイル使用メモリ | 27,008 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-07-04 06:05:30 |
合計ジャッジ時間 | 1,373 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 30 |
ソースコード
#include <stdio.h> int main(void) { char str[100]; fgets(str, sizeof(str), stdin); int a, b, c; sscanf(str, "%d %d %d", &a, &b, &c); if (a + b == c) { printf("Correct"); } else { printf("Incorrect"); } return 0; }