Pagini recente » Borderou de evaluare (job #1830639) | Borderou de evaluare (job #248466) | Borderou de evaluare (job #851560) | Borderou de evaluare (job #2204338) | Borderou de evaluare (job #1672745)
Borderou de evaluare (job #1672745)
Raport evaluator
Compilare:
user.cpp: In constructor ‘Node::Node(char, int, int, Node*, Node*)’:
user.cpp:8:18: warning: ‘Node::right’ will be initialized after [-Wreorder]
Node *left, *right;
^
user.cpp:7:17: warning: ‘int Node::hash1’ [-Wreorder]
int pr, sz, hash1, hash2;
^
user.cpp:10:5: warning: when initialized here [-Wreorder]
Node(char key, int pr, int sz, Node *left, Node *right):
^
user.cpp: In function ‘int main()’:
user.cpp:84:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j;
^
user.cpp:86:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d\n", &N, &M);
^
user.cpp:87:18: warning: ignoring return value of ‘char* gets(char*)’, declared with attribute warn_unused_result [-Wunused-result]
gets(str + 1);
^
user.cpp:103:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &op);
^
user.cpp:105:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %c", &p, &x);
^
user.cpp:112:45: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d %d", &q1, &q2, &lg);
^
/tmp/ccqNMPsS.o: In function `main':
user.cpp:(.text.startup+0xd9): warning: the `gets' function is dangerous and should not be used.
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 452kb | OK | 4 |
| 2 | 0ms | 480kb | OK | 4 |
| 3 | 16ms | 808kb | OK | 4 |
| 4 | 352ms | 2476kb | OK | 4 |
| 5 | 1496ms | 6384kb | OK | 4 |
| 6 | 1468ms | 9440kb | OK | 4 |
| 7 | 612ms | 8060kb | Incorect | 0 |
| 8 | 784ms | 14180kb | Incorect | 0 |
| 9 | 1552ms | 8268kb | Incorect | 0 |
| 10 | 1320ms | 9312kb | Incorect | 0 |
| 11 | 1552ms | 8048kb | Incorect | 0 |
| 12 | 1076ms | 9508kb | Incorect | 0 |
| 13 | 1532ms | 8268kb | Incorect | 0 |
| 14 | 1580ms | 7720kb | Incorect | 0 |
| 15 | 972ms | 9776kb | Incorect | 0 |
| 16 | 1408ms | 8164kb | Incorect | 0 |
| 17 | 1844ms | 15000kb | Incorect | 0 |
| 18 | 1004ms | 20192kb | Incorect | 0 |
| 19 | 980ms | 20160kb | Incorect | 0 |
| 20 | 1012ms | 19968kb | Incorect | 0 |
| 21 | 1512ms | 19228kb | Incorect | 0 |
| 22 | 1632ms | 18920kb | Incorect | 0 |
| 23 | 1496ms | 6396kb | Incorect | 0 |
| 24 | 1832ms | 8776kb | OK | 4 |
| 25 | 1912ms | 13756kb | OK | 4 |
| Punctaj total | 32 |