Pagini recente » Borderou de evaluare (job #1389218) | Borderou de evaluare (job #2412076) | Borderou de evaluare (job #1664764) | Borderou de evaluare (job #2382189) | Borderou de evaluare (job #1596764)
Borderou de evaluare (job #1596764)
Raport evaluator
Compilare:
user.cpp: In function ‘void upd(Trie*, int)’:
user.cpp:47:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if(!T -> nxt[ s[ind] ])
^
user.cpp:48:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
T -> nxt[ s[ind] ] = new Trie;
^
user.cpp:49:26: warning: array subscript has type ‘char’ [-Wchar-subscripts]
upd(T -> nxt[ s[ind] ], ind + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:94:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.in", "r", stdin);
^
user.cpp:95:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("rps.out", "w", stdout);
^
user.cpp:97:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d\n", &n, &k, &win, &draw);
^
user.cpp:101:20: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(s + 1);
^
/tmp/ccogWMEN.o: In function `main':
user.cpp:(.text.startup+0xce): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 428kb | OK | 5 |
2 | 0ms | 424kb | OK | 5 |
3 | 0ms | 608kb | OK | 5 |
4 | 0ms | 584kb | Incorect | 0 |
5 | 0ms | 636kb | Incorect | 0 |
6 | 0ms | 648kb | OK | 5 |
7 | 148ms | 16352kb | OK | 5 |
8 | 208ms | 20780kb | OK | 5 |
9 | 224ms | 23432kb | Incorect | 0 |
10 | 232ms | 23020kb | Incorect | 0 |
11 | 160ms | 14224kb | OK | 5 |
12 | 204ms | 18448kb | OK | 5 |
13 | 240ms | 21436kb | OK | 5 |
14 | 228ms | 21076kb | Incorect | 0 |
15 | 236ms | 23516kb | Incorect | 0 |
16 | 236ms | 23600kb | OK | 5 |
17 | 236ms | 23600kb | OK | 5 |
18 | 244ms | 23612kb | OK | 5 |
19 | 216ms | 28652kb | OK | 5 |
20 | 192ms | 1996kb | OK | 5 |
Punctaj total | 70 |