Pagini recente » Borderou de evaluare (job #1902826) | Borderou de evaluare (job #2681653) | Borderou de evaluare (job #2350591) | Borderou de evaluare (job #2947398) | Borderou de evaluare (job #1446958)
Borderou de evaluare (job #1446958)
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 | 288kb | OK | 10 |
2 | 8ms | 340kb | OK | 10 |
3 | 80ms | 716kb | OK | 10 |
4 | 124ms | 1196kb | OK | 10 |
5 | 260ms | 1948kb | OK | 10 |
6 | 392ms | 2892kb | OK | 10 |
7 | 608ms | 5628kb | OK | 10 |
8 | 608ms | 3408kb | OK | 10 |
9 | 300ms | 904kb | OK | 10 |
10 | 672ms | 5640kb | OK | 10 |
Punctaj total | 100 |