Pagini recente » Borderou de evaluare (job #193023) | Borderou de evaluare (job #1924312) | Borderou de evaluare (job #1654022) | Borderou de evaluare (job #2225296) | Borderou de evaluare (job #1743108)
Borderou de evaluare (job #1743108)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:13:22: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[200]’ [-Wformat=]
scanf("%s",&s);
^
user.cpp:18:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++)
^
user.cpp:32:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++)
^
user.cpp:61:35: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<strlen(s);i++)
^
user.cpp:7: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:8: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:9:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:12:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:13:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | Incorect | 0 |
Punctaj total | 0 |