Pagini recente » Borderou de evaluare (job #2769863) | Borderou de evaluare (job #1477908) | Borderou de evaluare (job #2275802) | Borderou de evaluare (job #475897) | Borderou de evaluare (job #1477905)
Borderou de evaluare (job #1477905)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:22:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.in","r",stdin);
^
user.cpp:23:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("substr.out","w",stdout);
^
user.cpp:24:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k); gets(s); gets(s+1);
^
user.cpp:24:30: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k); gets(s); gets(s+1);
^
user.cpp:24:41: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&n,&k); gets(s); gets(s+1);
^
/tmp/ccAr9Baa.o: In function `main':
user.cpp:(.text.startup+0x72): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 64ms | 1448kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 64ms | 1444kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 64ms | 1440kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 12ms | 612kb | OK | 10 |
5 | 56ms | 1468kb | OK | 10 |
6 | 56ms | 1468kb | OK | 10 |
7 | 0ms | 364kb | Incorect | 0 |
8 | 0ms | 368kb | OK | 10 |
9 | 0ms | 372kb | OK | 10 |
10 | 40ms | 1264kb | OK | 10 |
Punctaj total | 60 |