Borderou de evaluare (job #2023261)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:142:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zeap.in", "r", stdin);
^
user.cpp:143:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("zeap.out", "w", stdout);
^
user.cpp:152:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &op);
^
user.cpp:154:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (op == 'M') scanf ("%c", &aa), scanf ("%c", &aa);
^
user.cpp:154:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:155:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf ("%d", &va);
^
user.cpp:183:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n%c", &op);
^
user.cpp:185:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (op == 'M') scanf ("%c", &aa), scanf ("%c", &aa);
^
user.cpp:185:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:186:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf ("%d", &va);
^
user.cpp: In function ‘int sterge(treap*&, int)’:
user.cpp:128:12: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 8ms | 340kb | Incorect | 0 |
3 | 72ms | 776kb | Incorect | 0 |
4 | 108ms | 1208kb | OK | 10 |
5 | 212ms | 1948kb | OK | 10 |
6 | 328ms | 2900kb | OK | 10 |
7 | 604ms | 5628kb | OK | 10 |
8 | 528ms | 3408kb | OK | 10 |
9 | 252ms | 908kb | OK | 10 |
10 | 632ms | 5644kb | OK | 10 |
Punctaj total | 80 |