Pagini recente » Borderou de evaluare (job #2498768) | Borderou de evaluare (job #2823958) | Borderou de evaluare (job #853351) | Borderou de evaluare (job #2368131) | Borderou de evaluare (job #1669198)
Borderou de evaluare (job #1669198)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:8:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.in","r",stdin);
^
user.cpp:9:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("search.out","w",stdout);
^
user.cpp:10:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%c",&n,&m,&z);
^
user.cpp:11:36: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
for (i=1; i<=n; i++) gets(s[i]);
^
user.cpp:15:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%c%c",&z,&q); sol=0;
^
In file included from /usr/include/stdio.h:934:0,
from /usr/include/c++/4.8/cstdio:42,
from user.cpp:1:
In function ‘char* gets(char*)’,
inlined from ‘int main()’ at user.cpp:11:36:
/usr/include/i386-linux-gnu/bits/stdio2.h:230:28: warning: call to ‘__gets_warn’ declared with attribute warning: please use fgets or getline instead, gets can't specify buffer size [enabled by default]
return __gets_warn (__str);
^
/tmp/cclfSNkL.o: In function `main':
user.cpp:(.text.startup+0x89): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 348kb | OK | 5 |
2 | 0ms | 564kb | OK | 5 |
3 | 0ms | 1784kb | Incorect | 0 |
4 | 4ms | 2916kb | Incorect | 0 |
5 | 0ms | 584kb | Killed by signal 6(SIGABRT). | 0 |
6 | 0ms | 888kb | OK | 5 |
7 | 4ms | 808kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 4ms | 804kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 8ms | 900kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 4ms | 904kb | Killed by signal 11(SIGSEGV). | 0 |
11 | 12ms | 904kb | Killed by signal 11(SIGSEGV). | 0 |
12 | 4ms | 856kb | Killed by signal 11(SIGSEGV). | 0 |
13 | 4ms | 880kb | Killed by signal 11(SIGSEGV). | 0 |
14 | 12ms | 900kb | Killed by signal 11(SIGSEGV). | 0 |
15 | 0ms | 784kb | Killed by signal 11(SIGSEGV). | 0 |
16 | 0ms | 892kb | Killed by signal 11(SIGSEGV). | 0 |
17 | 0ms | 1004kb | Killed by signal 11(SIGSEGV). | 0 |
18 | 0ms | 876kb | Killed by signal 11(SIGSEGV). | 0 |
19 | 4ms | 900kb | Killed by signal 11(SIGSEGV). | 0 |
20 | 4ms | 904kb | Killed by signal 11(SIGSEGV). | 0 |
Punctaj total | 15 |