Pagini recente » Borderou de evaluare (job #2437930) | Borderou de evaluare (job #2575601) | Borderou de evaluare (job #68538) | Borderou de evaluare (job #2173900) | Borderou de evaluare (job #2641350)
Borderou de evaluare (job #2641350)
Raport evaluator
Compilare:
main.cpp: In function 'int prefix(Trie*, char*, int)':
main.cpp:51:5: warning: this 'if' clause does not guard... [-Wmisleading-indentation]
if(nod->fiu[*s-'a']== 0)
^~
main.cpp:53:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'if'
return prefix(nod->fiu[*s-'a'],s+1,k+1);
^~~~~~
main.cpp: In function 'int main()':
main.cpp:59:33: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.in","r",stdin);
^
main.cpp:60:35: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("trie.out","w",stdout);
^
main.cpp:61:22: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s,32,stdin);
^
main.cpp:69:26: warning: ignoring return value of 'char* fgets(char*, int, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
fgets(s,32,stdin);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 3ms | 131kb | OK | 5 | 5 |
2 | 3ms | 131kb | OK | 5 | 5 |
3 | 3ms | 131kb | OK | 5 | 5 |
4 | 3ms | 131kb | OK | 5 | 5 |
5 | 3ms | 131kb | OK | 5 | 5 |
6 | 4ms | 131kb | OK | 5 | 5 |
7 | 5ms | 131kb | OK | 5 | 5 |
8 | 6ms | 131kb | OK | 5 | 5 |
9 | 10ms | 524kb | OK | 5 | 5 |
10 | 14ms | 1441kb | OK | 5 | 5 |
11 | 14ms | 262kb | OK | 5 | 5 |
12 | 30ms | 2752kb | OK | 5 | 5 |
13 | 33ms | 2359kb | OK | 5 | 5 |
14 | 29ms | 655kb | OK | 5 | 5 |
15 | 34ms | 655kb | OK | 5 | 10 |
16 | 112ms | 19005kb | OK | 5 |
17 | 52ms | 262kb | OK | 5 | 10 |
18 | 106ms | 13893kb | OK | 5 |
19 | 41ms | 262kb | OK | 5 | 10 |
20 | 134ms | 25427kb | OK | 5 |
Punctaj total | 100 |