Pagini recente » Borderou de evaluare (job #1688048) | Borderou de evaluare (job #2123258) | Borderou de evaluare (job #421830) | Borderou de evaluare (job #735216) | Borderou de evaluare (job #2068017)
Borderou de evaluare (job #2068017)
Raport evaluator
Compilare:
user.cpp: In function ‘long long int pref_st()’:
user.cpp:14:9: warning: no return statement in function returning non-void [-Wreturn-type]
p[i]=k;}}
^
user.cpp: In function ‘long long int pref_dr()’:
user.cpp:22:9: warning: no return statement in function returning non-void [-Wreturn-type]
p[i]=k;}}
^
user.cpp: In function ‘long long int kmp_st()’:
user.cpp:32:18: warning: no return statement in function returning non-void [-Wreturn-type]
oki[0][i-s+1]=1;}}
^
user.cpp: In function ‘long long int kmp_dr()’:
user.cpp:42:14: warning: no return statement in function returning non-void [-Wreturn-type]
oki[1][i]=1;}}
^
user.cpp: In function ‘int main()’:
user.cpp:44:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.in","r",stdin);
^
user.cpp:45:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("secv10.out","w",stdout);
^
user.cpp:47:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%lld\n",&t);
^
user.cpp:49:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(ch+1);
^
user.cpp:51:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:52:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(st+1);
^
user.cpp:54:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
user.cpp:55:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(dr+1);
^
/tmp/ccUMFt8D.o: In function `main':
user.cpp:(.text.startup+0x85): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 72ms | 2040kb | OK | 100 |
Punctaj total | 100 |