Submission #1610855
Source Code Expand
#include <stdio.h> int main(void) { char name[100]; scanf("%s",name); for(c=name;*c!='\0';++c) *c = (*c|0x20); *name = *name&0xdf; printf("%s\n",name); return 0; }
Submission Info
Submission Time | |
---|---|
Task | B - 名前の確認 |
User | iseekautos |
Language | C (GCC 5.4.1) |
Score | 0 |
Code Size | 191 Byte |
Status | CE |
Compile Error
./Main.c: In function ‘main’: ./Main.c:6:7: error: ‘c’ undeclared (first use in this function) for(c=name;*c!='\0';++c) ^ ./Main.c:6:7: note: each undeclared identifier is reported only once for each function it appears in ./Main.c:5:3: warning: ignoring return value of ‘scanf’, declared with attribute warn_unused_result [-Wunused-result] scanf("%s",name); ^