Pagini recente » Borderou de evaluare (job #2971643) | Borderou de evaluare (job #1893554) | Borderou de evaluare (job #129656) | Borderou de evaluare (job #1253915)
Borderou de evaluare (job #1253915)
Raport evaluator
Compilare:
user.cpp: In function ‘void insert(Tr*, char*, int)’:
user.cpp:34:15: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!t->fiu[*p])
^
user.cpp:35:12: warning: array subscript has type ‘char’ [-Wchar-subscripts]
t->fiu[*p]=new Tr();
^
user.cpp:36:18: warning: array subscript has type ‘char’ [-Wchar-subscripts]
insert(t->fiu[*p],p+1,poz+1);
^
user.cpp: In function ‘int main()’:
user.cpp:63:24: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(kkt->fiu[s[i+j-1]])
^
user.cpp:64:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
kkt=kkt->fiu[s[i+j-1]];
^
user.cpp:40:32: 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:41:34: 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:42:21: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&t);
^
user.cpp:43:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s+1);
^
user.cpp:46:18: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",c+1);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 512kb | OK | 10 |
2 | 0ms | 980kb | OK | 10 |
3 | 32ms | 12080kb | OK | 10 |
4 | 64ms | 20772kb | OK | 10 |
5 | 16ms | 2924kb | OK | 10 |
6 | 32ms | 6476kb | OK | 10 |
7 | 100ms | 16972kb | OK | 10 |
8 | 112ms | 22096kb | OK | 10 |
9 | Depăşit | 1464kb | Time limit exceeded. | 0 |
10 | 124ms | 35528kb | OK | 10 |
Punctaj total | 90 |