Pagini recente » Borderou de evaluare (job #1469174) | Borderou de evaluare (job #2546263) | Borderou de evaluare (job #416673) | Borderou de evaluare (job #485038) | Borderou de evaluare (job #1580623)
Borderou de evaluare (job #1580623)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:35:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->po[in[j]]==NULL)
^
user.cpp:36:20: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm->po[in[j]]=new nod();
^
user.cpp:37:23: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->po[in[j]];
^
user.cpp:48:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(tm->po[si[j]]!=NULL)
^
user.cpp:50:19: warning: array subscript has type ‘char’ [-Wchar-subscripts]
tm=tm->po[si[j]];
^
user.cpp:20: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:21: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:25: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:26:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(si+1);
^
user.cpp:29:14: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(in+1);
^
/tmp/cct4Aj4R.o: In function `main':
user.cpp:(.text.startup+0x9c): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 708kb | OK | 10 |
2 | 0ms | 1204kb | OK | 10 |
3 | 32ms | 13048kb | OK | 10 |
4 | 60ms | 22292kb | OK | 10 |
5 | 12ms | 3244kb | OK | 10 |
6 | 28ms | 7004kb | OK | 10 |
7 | 80ms | 18184kb | OK | 10 |
8 | 92ms | 23644kb | OK | 10 |
9 | 292ms | 1928kb | OK | 10 |
10 | 112ms | 37968kb | OK | 10 |
Punctaj total | 100 |