Pagini recente » Borderou de evaluare (job #1341654) | Borderou de evaluare (job #2044940) | Borderou de evaluare (job #1067035) | Borderou de evaluare (job #2665639) | Borderou de evaluare (job #2428934)
Borderou de evaluare (job #2428934)
Raport evaluator
Compilare:
main.cpp: In function 'void readdictionary()':
main.cpp:41:20: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[5012]' [-Wformat=]
scanf ("%s",&S);
^
main.cpp: In function 'int sim(int*, int)':
main.cpp:53:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (X[T[1]].size()<=i+cnt) continue;
~~~~~~~~~~~~~~^~~~~~~
main.cpp:55:21: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (X[T[j]].size()<=i+cnt||X[T[j]][i+cnt]!=X[T[1]][i+cnt]) break;
~~~~~~~~~~~~~~^~~~~~~
main.cpp: In function 'void readdictionary()':
main.cpp:35:22: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d%d",&n,&m);
^
main.cpp:41:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%s",&S);
^
main.cpp: In function 'void solve()':
main.cpp:69:18: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&n);
^
main.cpp:71:21: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d",&T[j]);
^
main.cpp: In function 'int main()':
main.cpp:78:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("ratina.in","r",stdin);
^
main.cpp:79:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen ("ratina.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 296ms | 3162kb | OK | 5 |
2 | 241ms | 3276kb | OK | 5 |
3 | 25ms | 1441kb | OK | 5 |
4 | 39ms | 1527kb | OK | 5 |
5 | 47ms | 1478kb | OK | 5 |
6 | 46ms | 1400kb | OK | 5 |
7 | 292ms | 5406kb | OK | 5 |
8 | 268ms | 5578kb | OK | 5 |
9 | 299ms | 5595kb | OK | 5 |
10 | 280ms | 3174kb | OK | 5 |
11 | 248ms | 2883kb | OK | 5 |
12 | 283ms | 3551kb | OK | 5 |
13 | 321ms | 3276kb | OK | 5 |
14 | 287ms | 3538kb | OK | 5 |
15 | 291ms | 3178kb | OK | 5 |
16 | 251ms | 3063kb | OK | 5 |
17 | 380ms | 3313kb | OK | 5 |
18 | 385ms | 3448kb | OK | 5 |
19 | 397ms | 3141kb | OK | 5 |
20 | 383ms | 3166kb | OK | 5 |
Punctaj total | 100 |