Pagini recente » Borderou de evaluare (job #701446) | Borderou de evaluare (job #1789866) | Borderou de evaluare (job #1369981) | Borderou de evaluare (job #842173) | Borderou de evaluare (job #1946131)
Borderou de evaluare (job #1946131)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:42:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(p->urm[s2[j]]==NULL)
^
user.cpp:44:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p->urm[s2[j]]=new nod;
^
user.cpp:46:27: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=p->urm[s2[j]];
^
user.cpp:56:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(p->urm[s[i+j]]==NULL)
^
user.cpp:60:28: warning: array subscript has type ‘char’ [-Wchar-subscripts]
p=p->urm[s[i+j]];
^
user.cpp:22:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("enigma.in","r",stdin);
^
user.cpp:23:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("enigma.out","w",stdout);
^
user.cpp:24:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&m);
^
user.cpp:25:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s+1);
^
user.cpp:33:19: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s2+1);
^
/tmp/ccr2tMZC.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 | 0ms | 500kb | OK | 10 |
2 | 0ms | 936kb | OK | 10 |
3 | 24ms | 11304kb | OK | 10 |
4 | 52ms | 19436kb | OK | 10 |
5 | 12ms | 2796kb | OK | 10 |
6 | 24ms | 6128kb | OK | 10 |
7 | 76ms | 15944kb | OK | 10 |
8 | 88ms | 20740kb | OK | 10 |
9 | 268ms | 1752kb | OK | 10 |
10 | 100ms | 33288kb | OK | 10 |
Punctaj total | 100 |