Pagini recente » Borderou de evaluare (job #2383632) | Borderou de evaluare (job #162357) | Borderou de evaluare (job #175126) | Borderou de evaluare (job #1354520) | Borderou de evaluare (job #2023251)
Borderou de evaluare (job #2023251)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:141: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:142: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:151:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%c", &op);
^
user.cpp:153: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:153:56: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:154:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
else scanf ("%d", &va);
^
user.cpp:182:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("\n%c", &op);
^
user.cpp:184: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:184:60: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
user.cpp:185: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:127:12: warning: ‘ans’ may be used uninitialized in this function [-Wmaybe-uninitialized]
return ans;
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 284kb | OK | 10 |
2 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
3 | 0ms | 280kb | Killed by signal 11(SIGSEGV). | 0 |
4 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
5 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
6 | 0ms | 276kb | Killed by signal 11(SIGSEGV). | 0 |
7 | 600ms | 5624kb | OK | 10 |
8 | 0ms | 252kb | Killed by signal 11(SIGSEGV). | 0 |
9 | 0ms | 272kb | Killed by signal 11(SIGSEGV). | 0 |
10 | 624ms | 5640kb | OK | 10 |
Punctaj total | 30 |