Pagini recente » Borderou de evaluare (job #3255462) | Borderou de evaluare (job #2290443) | Borderou de evaluare (job #1411958) | Borderou de evaluare (job #2139130) | Borderou de evaluare (job #1545726)
Borderou de evaluare (job #1545726)
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 | 264kb | OK | 100 |
Punctaj total | 100 |