Pagini recente » Borderou de evaluare (job #1264546) | Borderou de evaluare (job #1275750) | Borderou de evaluare (job #897268) | Borderou de evaluare (job #2547793) | Borderou de evaluare (job #1657907)
Borderou de evaluare (job #1657907)
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/ccOn2oBy.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 | 392ms | 644kb | OK | 10 |
2 | 8ms | 280kb | OK | 10 |
3 | 480ms | 756kb | OK | 10 |
4 | 408ms | 648kb | OK | 10 |
5 | Depăşit | 752kb | Time limit exceeded. | 0 |
6 | 228ms | 540kb | OK | 10 |
7 | Depăşit | 748kb | Time limit exceeded. | 0 |
8 | Depăşit | 752kb | Time limit exceeded. | 0 |
9 | 272ms | 524kb | OK | 10 |
10 | 40ms | 312kb | OK | 10 |
Punctaj total | 70 |