結果
| 問題 | No.1070 Missing a space |
| コンテスト | |
| ユーザー |
Maeda
|
| 提出日時 | 2025-03-11 13:57:04 |
| 言語 | C (gcc 15.2.0) |
| 結果 |
RE
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 225 bytes |
| 記録 | |
| コンパイル時間 | 129 ms |
| コンパイル使用メモリ | 40,544 KB |
| 最終ジャッジ日時 | 2026-02-22 13:13:29 |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 3 |
| other | RE * 7 |
ソースコード
#include <stdio.h>
#include <string.h>
void main(void){
char c[1000000] = "a";
scanf("%s",c);
int count = 0;
for(int i = 1;i < (int)strlen(c);i++){
if(c[i] != '0'){
count++;
}
}
printf("%d",count);
}
Maeda