結果
| 問題 |
No.418 ミンミンゼミ
|
| コンテスト | |
| ユーザー |
tsuishi
|
| 提出日時 | 2021-03-26 10:30:56 |
| 言語 | C (gcc 13.3.0) |
| 結果 |
AC
|
| 実行時間 | 1 ms / 1,000 ms |
| コード長 | 226 bytes |
| コンパイル時間 | 361 ms |
| コンパイル使用メモリ | 28,288 KB |
| 実行使用メモリ | 5,248 KB |
| 最終ジャッジ日時 | 2024-11-27 21:56:59 |
| 合計ジャッジ時間 | 1,313 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 25 |
ソースコード
#include <stdio.h>
extern char getchar_unlocked(void);
#define gc(c) do{c=getchar_unlocked();}while(0)
int main( void ) {
int cnt=0;
char c;
gc(c);while(c!=EOF){if(c=='\n')break;if(c=='n')cnt++;gc(c);}
printf("%d\n", cnt );
}
tsuishi