Pagini recente » Borderou de evaluare (job #2048002) | Borderou de evaluare (job #1842945) | Borderou de evaluare (job #2254032) | Borderou de evaluare (job #185961) | Borderou de evaluare (job #2647894)
Borderou de evaluare (job #2647894)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:23:14: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<strlen(z);i++)
~^~~~~~~~~~
main.cpp:24:15: warning: array subscript has type 'char' [-Wchar-subscripts]
v[z[i]]=i;
^
main.cpp:31:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(j=0;j<strlen(s);j++){
~^~~~~~~~~~
main.cpp:32:26: warning: array subscript has type 'char' [-Wchar-subscripts]
x=x*13+v[s[j]];
^
main.cpp:17:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.in","r",stdin);
^
main.cpp:18:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("zimeria.out","w",stdout);
^
main.cpp:20:26: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&cer,&n);
^
main.cpp:21:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",z);
^
main.cpp:28:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",s);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 2ms | 131kb | OK | 5 |
2 | 3ms | 131kb | OK | 5 |
3 | 25ms | 393kb | OK | 5 |
4 | 50ms | 524kb | OK | 5 |
5 | 99ms | 917kb | OK | 5 |
6 | 188ms | 1703kb | OK | 5 |
7 | 2ms | 131kb | OK | 5 |
8 | 3ms | 131kb | OK | 5 |
9 | 4ms | 131kb | OK | 5 |
10 | 6ms | 131kb | OK | 5 |
11 | 10ms | 262kb | OK | 5 |
12 | 17ms | 393kb | OK | 5 |
13 | 33ms | 524kb | OK | 5 |
14 | 64ms | 917kb | OK | 5 |
15 | 80ms | 1179kb | OK | 5 |
16 | 108ms | 1703kb | OK | 5 |
17 | 160ms | 2097kb | OK | 5 |
18 | 170ms | 2621kb | OK | 5 |
19 | 300ms | 3264kb | Time limit exceeded | 0 |
20 | 300ms | 3932kb | Time limit exceeded | 0 |
Punctaj total | 90 |