Pagini recente » Borderou de evaluare (job #162098) | Borderou de evaluare (job #1746386) | Borderou de evaluare (job #2359208) | Borderou de evaluare (job #2774078) | Borderou de evaluare (job #1201956)
Borderou de evaluare (job #1201956)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:20: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:20: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 | Depăşit | 776kb | Time limit exceeded. | 0 |
Punctaj total | 0 |