Pagini recente » Borderou de evaluare (job #7051) | Borderou de evaluare (job #2389325) | Borderou de evaluare (job #2770083) | Borderou de evaluare (job #2459918) | Borderou de evaluare (job #1934809)
Borderou de evaluare (job #1934809)
Raport evaluator
Compilare:
user.cpp: In function ‘void Update(Node*, int)’:
user.cpp:48:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
if (node -> son[now[pos]] == NULL)
^
user.cpp:49:29: warning: array subscript has type ‘char’ [-Wchar-subscripts]
node -> son[now[pos]] = newEmptyNode();
^
user.cpp:52:36: warning: array subscript has type ‘char’ [-Wchar-subscripts]
Update(node -> son[now[pos]], pos + 1);
^
user.cpp: In function ‘int main()’:
user.cpp:95:44: 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, &W, &D);
^
user.cpp:100:22: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(now);
^
/tmp/ccen4yU0.o: In function `main':
user.cpp:(.text.startup+0x88): warning: the `gets' function is dangerous and should not be used.
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 268kb | OK | 5 |
2 | 0ms | 264kb | OK | 5 |
3 | 0ms | 448kb | OK | 5 |
4 | 0ms | 424kb | OK | 5 |
5 | 0ms | 484kb | OK | 5 |
6 | 0ms | 480kb | OK | 5 |
7 | 152ms | 16192kb | OK | 5 |
8 | 208ms | 20620kb | OK | 5 |
9 | 216ms | 23268kb | OK | 5 |
10 | 220ms | 22856kb | OK | 5 |
11 | 164ms | 14180kb | OK | 5 |
12 | 192ms | 18396kb | OK | 5 |
13 | 252ms | 21392kb | OK | 5 |
14 | 212ms | 21016kb | OK | 5 |
15 | 228ms | 23380kb | OK | 5 |
16 | 240ms | 23468kb | OK | 5 |
17 | 220ms | 23460kb | OK | 5 |
18 | 248ms | 23480kb | OK | 5 |
19 | 232ms | 28484kb | OK | 5 |
20 | 196ms | 2248kb | OK | 5 |
Punctaj total | 100 |