Pagini recente » Borderou de evaluare (job #753868) | Borderou de evaluare (job #2593651) | Borderou de evaluare (job #979407) | Borderou de evaluare (job #1933708) | Borderou de evaluare (job #2060660)
Borderou de evaluare (job #2060660)
Raport evaluator
Compilare:
user.cpp: In function ‘int query(int, int, int)’:
user.cpp:29:13: warning: unused variable ‘mid’ [-Wunused-variable]
int mid=(st+dr)/2;
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:42:31: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
^
user.cpp: In function ‘int main()’:
user.cpp:49:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in","r",stdin);
^
user.cpp:50:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out","w",stdout);
^
user.cpp:52:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:55:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&tata[i]);
^
user.cpp:60:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&val[i]);
^
user.cpp:66:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3844kb | OK | 10 |
2 | 4ms | 3844kb | OK | 10 |
3 | 12ms | 3836kb | OK | 10 |
4 | 12ms | 3832kb | OK | 10 |
5 | 56ms | 4772kb | OK | 10 |
6 | 268ms | 8340kb | OK | 10 |
7 | 420ms | 11136kb | OK | 10 |
8 | 740ms | 14984kb | OK | 10 |
9 | 792ms | 17720kb | OK | 10 |
10 | Depăşit | 18424kb | Time limit exceeded. | 0 |
Punctaj total | 90 |