結果
問題 | No.3060 サンプルケース至上主義 |
ユーザー |
![]() |
提出日時 | 2020-04-17 02:48:41 |
言語 | C (gcc 12.3.0) |
結果 |
AC
|
実行時間 | 1 ms / 2,000 ms |
コード長 | 549 bytes |
コンパイル時間 | 272 ms |
コンパイル使用メモリ | 29,440 KB |
実行使用メモリ | 5,248 KB |
最終ジャッジ日時 | 2024-10-03 08:33:10 |
合計ジャッジ時間 | 583 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge5 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | AC | 1 ms
5,248 KB |
testcase_01 | AC | 1 ms
5,248 KB |
testcase_02 | AC | 1 ms
5,248 KB |
testcase_03 | AC | 1 ms
5,248 KB |
testcase_04 | AC | 1 ms
5,248 KB |
ソースコード
#include <stdio.h> #include <stdlib.h> #include <string.h> #include <math.h> int cmp(const void *a,const void *b){ if(*(int*)a>*(int*)b){return -1;} else if(*(int*)a<*(int*)b){return 1;} else {return 0;} } int min(int a,int b){ if(a>=b){return b;} return a; } int main(void){ char s[500]; scanf("%s",s); if(s[0]=='0'){printf("Nothing\n");} else if(s[0]=='3'){printf("pi\n");} else if(s[1]=='1'){printf("九蓮宝燈\nThirteen Orphans\n");} else if(s[0]=='A'){printf("3\n4\n4\n3\n6\n2\n2\n");} else{printf("さmpぇ\n");} }