Pagini recente » Borderou de evaluare (job #829503) | Borderou de evaluare (job #1712062) | Borderou de evaluare (job #2552007) | Borderou de evaluare (job #654480) | Borderou de evaluare (job #1761254)
Borderou de evaluare (job #1761254)
Raport evaluator
Compilare:
user.cpp: In function ‘void Add_To_Hash(int, int, int&)’:
user.cpp:21:27: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<h[x1].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:69:35: 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:70:37: 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:72:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d ",&N,&X);
^
user.cpp:73:11: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str);
^
user.cpp: In function ‘int Binary_Search(int)’:
user.cpp:65:9: warning: ‘last’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return last;
^
/tmp/cciDtHUd.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 | 12ms | 8224kb | Killed by signal 11(SIGSEGV). | 0 |
2 | 12ms | 8220kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 12ms | 8224kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 48ms | 8892kb | OK | 10 |
5 | 12ms | 8228kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 12ms | 8228kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 12ms | 8212kb | Killed by signal 11(SIGSEGV). | 0 |
8 | 32ms | 8244kb | OK | 10 |
9 | 32ms | 8356kb | OK | 10 |
10 | 88ms | 9996kb | Incorect | 0 |
Punctaj total | 30 |