Pagini recente » Borderou de evaluare (job #1405397) | Borderou de evaluare (job #130042) | Borderou de evaluare (job #2923865) | Borderou de evaluare (job #408415) | Borderou de evaluare (job #1580619)
Borderou de evaluare (job #1580619)
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:58:23: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long long int’ [-Wformat=]
printf("%d\n",di[n]);
^
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:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",si+1);
^
user.cpp:29:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n",in+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 692kb | OK | 10 |
2 | 0ms | 1196kb | OK | 10 |
3 | 32ms | 13052kb | OK | 10 |
4 | 76ms | 22600kb | OK | 10 |
5 | 24ms | 3732kb | OK | 10 |
6 | 48ms | 7744kb | OK | 10 |
7 | 136ms | 19144kb | OK | 10 |
8 | 148ms | 24744kb | OK | 10 |
9 | Depăşit | 1696kb | Time limit exceeded. | 0 |
10 | 152ms | 39124kb | OK | 10 |
Punctaj total | 90 |