結果
問題 |
No.841 8/32
|
ユーザー |
![]() |
提出日時 | 2019-09-08 16:51:57 |
言語 | C (gcc 13.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 293 bytes |
コンパイル時間 | 317 ms |
コンパイル使用メモリ | 28,672 KB |
実行使用メモリ | 5,376 KB |
最終ジャッジ日時 | 2024-06-27 15:04:02 |
合計ジャッジ時間 | 1,229 ms |
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 16 WA * 5 |
ソースコード
#include <stdio.h> #include <string.h> int main(int argc, char *argv[]) { char s[2][5]; scanf("%s %s", s[0], s[1]); int k = 0; for (int i = 0; i < 2; i++) { k += !strcmp(s[i], "Sat") + !strcmp(s[i], "Sun"); } printf("8/%d\n", 31 + k); return 0; }