Pagini recente » Borderou de evaluare (job #684823) | Borderou de evaluare (job #1311472) | Borderou de evaluare (job #2691977) | Borderou de evaluare (job #2378710) | Borderou de evaluare (job #1446966)
Borderou de evaluare (job #1446966)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:91: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:92: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:96: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:101: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:102: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:105: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:106: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 | 336kb | OK | 10 |
3 | 80ms | 716kb | OK | 10 |
4 | 116ms | 1200kb | OK | 10 |
5 | 248ms | 1952kb | OK | 10 |
6 | 376ms | 2892kb | OK | 10 |
7 | 620ms | 5628kb | OK | 10 |
8 | 604ms | 3408kb | OK | 10 |
9 | 296ms | 908kb | OK | 10 |
10 | 660ms | 5640kb | OK | 10 |
Punctaj total | 100 |