Aibė

Taškai: 100

Compile: OK

set.cpp: In function ‘int main()’: set.cpp:227:61: warning: NULL used in arithmetic [-Wpointer-arith] ans.push_back(treapas.found(num) != NULL ? "taip" : "ne"); ^ set.cpp:207:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &Q); ^ set.cpp:213:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf(" %c", &ch); ^ set.cpp:215:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &num); ^ set.cpp:220:42: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &a, &b); ^ set.cpp:226:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &num); ^

nr.resulttimemessage
1True0.0 sok
2True0.104 sok
3True0.164 sok
4True0.112 sok
5True0.152 sok
6True0.168 sok
7True0.188 sok
8True0.028 sok
9True0.188 sok
10True0.04 sok
11True0.324 sok
12True0.056 sok
13True0.24 sok
14True0.012 sok
15True0.168 sok
16True0.1 sok
17True0.024 sok
18True0.024 sok
19True0.068 sok
20True0.036 sok