Pagini recente » Borderou de evaluare (job #266953) | Borderou de evaluare (job #2519980) | Borderou de evaluare (job #1644352) | Borderou de evaluare (job #1593864) | Borderou de evaluare (job #1657902)
Borderou de evaluare (job #1657902)
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/cc7cGmHm.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 | 0ms | 440kb | Killed by signal 6(SIGABRT). | 0 |
4 | 392ms | 744kb | Killed by signal 6(SIGABRT). | 0 |
5 | Depăşit | 756kb | Time limit exceeded. | 0 |
6 | 232ms | 540kb | OK | 10 |
7 | 0ms | 440kb | Killed by signal 6(SIGABRT). | 0 |
8 | 0ms | 436kb | Killed by signal 6(SIGABRT). | 0 |
9 | 272ms | 520kb | OK | 10 |
10 | 40ms | 316kb | OK | 10 |
Punctaj total | 50 |