Pagini recente » Borderou de evaluare (job #2893472) | Borderou de evaluare (job #2610341) | Borderou de evaluare (job #1864935) | Borderou de evaluare (job #2928088) | Borderou de evaluare (job #1446951)
Borderou de evaluare (job #1446951)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:90:29: 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:91:31: 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:95:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%s",ss); s=ss;
^
user.cpp:100:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (s=="I") { scanf("%d",&x); nr++; insert(root,x,rand()+1); } else
^
user.cpp:101:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (s=="S") { scanf("%d",&x); ok=false; erase(root,x);
^
user.cpp:104:33: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
if (s=="C") { scanf("%d",&x); printf("%d\n",find(root,x)); }
^
user.cpp:105:16: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 280kb | OK | 10 |
2 | 8ms | 340kb | OK | 10 |
3 | 80ms | 716kb | OK | 10 |
4 | 116ms | 1200kb | OK | 10 |
5 | 232ms | 1952kb | OK | 10 |
6 | 348ms | 2896kb | OK | 10 |
7 | 576ms | 5632kb | OK | 10 |
8 | 568ms | 3404kb | Incorect | 0 |
9 | 300ms | 904kb | Incorect | 0 |
10 | 624ms | 5644kb | OK | 10 |
Punctaj total | 80 |