Pagini recente » Borderou de evaluare (job #718542) | Borderou de evaluare (job #1045304) | Borderou de evaluare (job #1386539) | Borderou de evaluare (job #1380480) | Borderou de evaluare (job #1446956)
Borderou de evaluare (job #1446956)
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()); } 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 | 284kb | OK | 10 |
| 2 | 8ms | 340kb | OK | 10 |
| 3 | 80ms | 716kb | OK | 10 |
| 4 | 124ms | 1200kb | OK | 10 |
| 5 | 260ms | 1956kb | OK | 10 |
| 6 | 396ms | 2896kb | OK | 10 |
| 7 | 624ms | 5628kb | OK | 10 |
| 8 | 632ms | 3404kb | Incorect | 0 |
| 9 | 308ms | 912kb | Incorect | 0 |
| 10 | 656ms | 5640kb | OK | 10 |
| Punctaj total | 80 |