Pagini recente » Borderou de evaluare (job #1639867) | Borderou de evaluare (job #639068) | Borderou de evaluare (job #527480) | Borderou de evaluare (job #308069) | Borderou de evaluare (job #1818292)
Borderou de evaluare (job #1818292)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:33:11: warning: unused variable ‘k’ [-Wunused-variable]
int t,k,l1,l2,a,sol;
^
user.cpp:31:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superstring.in","r",stdin);
^
user.cpp:32:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("superstring.out","w",stdout);
^
user.cpp:34:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d\n",&t);
^
user.cpp:38:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir+1);
^
user.cpp:39:21: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(sir1+1);
^
/tmp/ccPNXehm.o: In function `main':
user.cpp:(.text.startup+0x84): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 280ms | 6116kb | Incorect | 0 |
Punctaj total | 0 |