Pagini recente » Cod sursa (job #2577423) | Borderou de evaluare (job #918605) | Borderou de evaluare (job #2725829) | Borderou de evaluare (job #2039899) | Borderou de evaluare (job #2675233)
Borderou de evaluare (job #2675233)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:33:34: warning: format '%s' expects argument of type 'char*', but argument 2 has type 'char (*)[2000000]' [-Wformat=]
scanf("%s\n%s", &pattern, &text);
^
main.cpp:33:34: warning: format '%s' expects argument of type 'char*', but argument 3 has type 'char (*)[2000000]' [-Wformat=]
main.cpp:54:3: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
for(int i=0;i<nr;++i)
^~~
main.cpp:57:5: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
return 0;
^~~~~~
main.cpp:31:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.in", "r", stdin);
^
main.cpp:32:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("strmatch.out", "w", stdout);
^
main.cpp:33:35: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%s\n%s", &pattern, &text);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 131kb | OK | 2 | 2 |
2 | 3ms | 131kb | OK | 2 | 2 |
3 | 2ms | 131kb | OK | 2 | 2 |
4 | 3ms | 131kb | OK | 2 | 2 |
5 | 2ms | 131kb | OK | 2 | 2 |
6 | 3ms | 131kb | OK | 2 | 2 |
7 | 3ms | 131kb | OK | 2 | 2 |
8 | 3ms | 131kb | OK | 2 | 2 |
9 | 2ms | 131kb | OK | 2 | 2 |
10 | 3ms | 131kb | OK | 2 | 2 |
11 | 2ms | 131kb | OK | 2 | 2 |
12 | 2ms | 131kb | OK | 2 | 2 |
13 | 3ms | 131kb | OK | 2 | 2 |
14 | 3ms | 131kb | OK | 2 | 2 |
15 | 2ms | 131kb | OK | 2 | 2 |
16 | 3ms | 131kb | OK | 2 | 2 |
17 | 2ms | 131kb | OK | 2 | 2 |
18 | 2ms | 131kb | OK | 2 | 2 |
19 | 2ms | 131kb | OK | 2 | 2 |
20 | 3ms | 131kb | OK | 2 | 2 |
21 | 17ms | 1310kb | Incorect | 0 | 0 |
22 | 75ms | 3670kb | Incorect | 0 |
23 | 23ms | 1835kb | Incorect | 0 |
24 | 19ms | 1441kb | Incorect | 0 |
25 | 16ms | 1310kb | OK | 2 |
26 | 26ms | 2097kb | Incorect | 0 |
27 | 23ms | 1835kb | Incorect | 0 |
28 | 19ms | 1572kb | Incorect | 0 |
29 | 20ms | 1572kb | OK | 2 |
30 | 303ms | 16777kb | Time limit exceeded | 0 |
31 | 303ms | 16777kb | Time limit exceeded | 0 | 0 |
32 | 25ms | 1966kb | Incorect | 0 |
33 | 20ms | 1572kb | OK | 2 |
34 | 25ms | 1966kb | Incorect | 0 |
35 | 26ms | 2097kb | Incorect | 0 |
36 | 18ms | 1310kb | Incorect | 0 |
37 | 25ms | 2097kb | Incorect | 0 |
38 | 23ms | 1703kb | Incorect | 0 |
39 | 20ms | 1441kb | Incorect | 0 |
40 | 20ms | 1572kb | OK | 2 |
41 | 22ms | 1835kb | OK | 2 | 0 |
42 | 19ms | 1441kb | OK | 2 |
43 | 23ms | 1835kb | Incorect | 0 |
44 | 24ms | 1835kb | Incorect | 0 |
45 | 21ms | 1572kb | Incorect | 0 |
46 | 26ms | 1572kb | Incorect | 0 |
47 | 23ms | 1835kb | Incorect | 0 |
48 | 26ms | 2097kb | Incorect | 0 |
49 | 303ms | 16908kb | Time limit exceeded | 0 |
50 | 300ms | 17170kb | Time limit exceeded | 0 |
Punctaj total | 40 |