Pagini recente » Borderou de evaluare (job #175409) | Borderou de evaluare (job #2176166) | Borderou de evaluare (job #3219692) | Borderou de evaluare (job #2513548) | Borderou de evaluare (job #1201961)
Borderou de evaluare (job #1201961)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:21:18: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[131075]’ [-Wformat=]
scanf("%s",&s); n=strlen(s)-1;
^
user.cpp:12:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.in","r",stdin);
^
user.cpp:13:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("prefixe.out","w",stdout);
^
user.cpp:15:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&t);
^
user.cpp:21:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",&s); n=strlen(s)-1;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 1008ms | 904kb | OK | 100 |
Punctaj total | 100 |