Pagini recente » Borderou de evaluare (job #1177465) | Borderou de evaluare (job #3189649) | Borderou de evaluare (job #2224865) | Borderou de evaluare (job #1872784) | Borderou de evaluare (job #2309329)
Borderou de evaluare (job #2309329)
Raport evaluator
Compilare:
main.cpp: In function 'int bfs()':
main.cpp:42:22: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[nod].size();i++)
~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:91:26: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<v[dest].size();i++)
~^~~~~~~~~~~~~~~
main.cpp:108:29: warning: format '%d' expects argument of type 'int', but argument 2 has type 'std::vector<int>::size_type {aka long unsigned int}' [-Wformat=]
printf("%d\n",sol.size());
^
main.cpp:109:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<sol.size();i++) printf("%d ",sol[i]);
~^~~~~~~~~~~
main.cpp:56:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tournament.in","r",stdin);
^
main.cpp:57:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("tournament.out","w",stdout);
^
main.cpp:58:19: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
main.cpp:59:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
for(int i=1;i<=n;i++) scanf("%d",&c[i]);
^
main.cpp:63:33: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&d[i][j]);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
Punctaj/grupa |
1 | 2ms | 262kb | OK | 5 | 5 |
2 | 2ms | 262kb | OK | 5 | 5 |
3 | 2ms | 262kb | OK | 5 | 5 |
4 | 2ms | 262kb | Incorect | 0 | 0 |
5 | 89ms | 4718kb | Incorect | 0 | 0 |
6 | 219ms | 5898kb | Incorect | 0 |
7 | 125ms | 5111kb | Incorect | 0 |
8 | 278ms | 5898kb | Incorect | 0 |
9 | 165ms | 6029kb | Incorect | 0 | 0 |
10 | 117ms | 5505kb | Incorect | 0 |
11 | 118ms | 5242kb | Incorect | 0 |
12 | 284ms | 5898kb | Incorect | 0 |
13 | 128ms | 5898kb | Incorect | 0 | 0 |
14 | 137ms | 5373kb | Incorect | 0 |
15 | 101ms | 4718kb | Incorect | 0 |
16 | 245ms | 5898kb | Incorect | 0 |
17 | 198ms | 5898kb | Incorect | 0 | 0 |
18 | 83ms | 4456kb | Incorect | 0 |
19 | 75ms | 4456kb | Incorect | 0 |
20 | 221ms | 5636kb | Incorect | 0 |
Punctaj total | 15 |