Pagini recente » Borderou de evaluare (job #2771244) | Borderou de evaluare (job #60794) | Borderou de evaluare (job #2283782) | Borderou de evaluare (job #2523289) | Borderou de evaluare (job #1446964)
Borderou de evaluare (job #1446964)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:98:45: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘long int’ [-Wformat=]
if (y>=2) printf("%d\n",root->difmin); else printf("-1\n");
^
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 | 280kb | OK | 10 |
2 | 8ms | 332kb | OK | 10 |
3 | 80ms | 716kb | OK | 10 |
4 | 120ms | 1196kb | OK | 10 |
5 | 256ms | 1956kb | OK | 10 |
6 | 392ms | 2892kb | OK | 10 |
7 | 620ms | 5628kb | OK | 10 |
8 | 624ms | 3408kb | OK | 10 |
9 | 304ms | 904kb | OK | 10 |
10 | 668ms | 5644kb | OK | 10 |
Punctaj total | 100 |