Pagini recente » Borderou de evaluare (job #2978752) | Borderou de evaluare (job #2020670) | Borderou de evaluare (job #1772039) | Borderou de evaluare (job #2960903) | Borderou de evaluare (job #1545725)
Borderou de evaluare (job #1545725)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:15:24: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[110]’ [-Wformat=]
scanf("%s",&sir);
^
user.cpp:9:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind.in","r",stdin);
^
user.cpp:10:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("palind.out","w",stdout);
^
user.cpp:13:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:15:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&sir);
^
user.cpp:42:13: warning: ‘ch’ may be used uninitialized in this function [-Wmaybe-uninitialized]
if(s[0]!=ch){
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 384kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 0 |