Pagini recente » Borderou de evaluare (job #800466) | Borderou de evaluare (job #2221357) | Borderou de evaluare (job #2837835) | Borderou de evaluare (job #2278279) | Borderou de evaluare (job #1483115)
Borderou de evaluare (job #1483115)
Raport evaluator
Compilare:
user.cpp: In function ‘void aux_dfs(int)’:
user.cpp:17:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++){
^
user.cpp:24:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++)
^
user.cpp:28:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++)
^
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:39:30: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<qr[nod].size(); i++){
^
user.cpp:44:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[nod].size(); i++){
^
user.cpp: In function ‘int main()’:
user.cpp:55: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:56: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:57:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d",&N,&M);
^
user.cpp:61:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp:66:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&v[i]);
^
user.cpp:71:29: 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 | 12ms | 7536kb | OK | 10 |
2 | 12ms | 7532kb | OK | 10 |
3 | 16ms | 7680kb | OK | 10 |
4 | 24ms | 7676kb | OK | 10 |
5 | 52ms | 8644kb | OK | 10 |
6 | 184ms | 12720kb | OK | 10 |
7 | 280ms | 15408kb | OK | 10 |
8 | 496ms | 21316kb | OK | 10 |
9 | 540ms | 22316kb | OK | 10 |
10 | 572ms | 23224kb | OK | 10 |
Punctaj total | 100 |