Pagini recente » Borderou de evaluare (job #1010212) | Borderou de evaluare (job #1911630) | Borderou de evaluare (job #521089) | Borderou de evaluare (job #1182937) | Borderou de evaluare (job #1974638)
Borderou de evaluare (job #1974638)
Raport evaluator
Compilare:
user.cpp: In function ‘void dfs(int, int)’:
user.cpp:21:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=0;i<V[nod].size();i++)
^
user.cpp: In function ‘int add(int)’:
user.cpp:42:9: warning: unused variable ‘rez’ [-Wunused-variable]
int rez;
^
user.cpp: In function ‘int main()’:
user.cpp:77:28: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int i=1;i<=E.size();i++)
^
user.cpp:81:41: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (int j=1;j<=E.size()-(1<<i)+1;j++)
^
user.cpp:64:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("maxdist.in","r",stdin);
^
user.cpp:65:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&q);
^
user.cpp:69:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
user.cpp:89:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&Q[i]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 4ms | 3032kb | Incorect | 0 |
2 | 4ms | 3068kb | OK | 5 |
3 | 4ms | 3168kb | OK | 5 |
4 | 4ms | 3188kb | Incorect | 0 |
5 | 280ms | 20484kb | OK | 5 |
6 | 292ms | 20092kb | OK | 5 |
7 | 312ms | 20112kb | OK | 5 |
8 | 364ms | 21820kb | Incorect | 0 |
9 | 356ms | 20412kb | OK | 5 |
10 | 264ms | 20128kb | OK | 5 |
11 | 396ms | 21308kb | OK | 5 |
12 | 356ms | 20116kb | OK | 5 |
13 | 388ms | 20504kb | OK | 5 |
14 | 616ms | 30412kb | Incorect | 0 |
15 | 816ms | 39632kb | OK | 5 |
16 | 736ms | 38880kb | OK | 5 |
17 | 844ms | 39492kb | Incorect | 0 |
18 | 780ms | 38772kb | OK | 5 |
19 | 828ms | 39780kb | OK | 5 |
20 | 700ms | 42744kb | Incorect | 0 |
Punctaj total | 70 |