Pagini recente » Borderou de evaluare (job #2044273) | Borderou de evaluare (job #2787345) | Borderou de evaluare (job #2039787) | Borderou de evaluare (job #2366328) | Borderou de evaluare (job #1657904)
Borderou de evaluare (job #1657904)
Raport evaluator
Compilare:
user.cpp: In function ‘int KMP()’:
user.cpp:24:1: warning: no return statement in function returning non-void [-Wreturn-type]
}
^
user.cpp: In function ‘int main()’:
user.cpp:28:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.in","r",stdin);
^
user.cpp:29:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("virus.out","w",stdout);
^
user.cpp:30:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&t,&z);
^
user.cpp:31:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(b+1); n=strlen(b+1);
^
user.cpp:34:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%c",&x,&z);
^
user.cpp:35:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(a+1); m=strlen(a+1); a[m+1]=' ';
^
/tmp/ccJJNF56.o: In function `main':
user.cpp:(.text.startup+0x82): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 396ms | 648kb | OK | 10 |
2 | 8ms | 280kb | OK | 10 |
3 | 480ms | 772kb | OK | 10 |
4 | 412ms | 656kb | OK | 10 |
5 | Depăşit | 768kb | Time limit exceeded. | 0 |
6 | 232ms | 544kb | OK | 10 |
7 | Depăşit | 764kb | Time limit exceeded. | 0 |
8 | Depăşit | 772kb | Time limit exceeded. | 0 |
9 | 272ms | 528kb | OK | 10 |
10 | 40ms | 316kb | OK | 10 |
Punctaj total | 70 |