Pagini recente » Borderou de evaluare (job #1521468) | Borderou de evaluare (job #3223124) | Borderou de evaluare (job #2847596) | Borderou de evaluare (job #2032901) | Borderou de evaluare (job #2097180)
Borderou de evaluare (job #2097180)
Raport evaluator
Compilare:
user.cpp:428:32: warning: ‘typedef’ was ignored in this declaration [enabled by default]
typedef struct LM{int nod,cost;};
^
user.cpp:436:2: warning: ‘typedef’ was ignored in this declaration [enabled by default]
};
^
user.cpp: In function ‘int b_ford()’:
user.cpp:459:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(i=0;i<G[cc2.nod].size();i++)
^
user.cpp:444:18: warning: unused variable ‘nod’ [-Wunused-variable]
int i,d[N+2],nod,j;
^
user.cpp:444:22: warning: unused variable ‘j’ [-Wunused-variable]
int i,d[N+2],nod,j;
^
user.cpp: In function ‘void read()’:
user.cpp:402:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cc.in","r",stdin);
^
user.cpp:403:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&n);
^
user.cpp:407:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
^
user.cpp: In function ‘int main()’:
user.cpp:515:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("cc.out","w",stdout);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 460kb | OK | 10 |
2 | 0ms | 484kb | OK | 10 |
3 | 0ms | 500kb | OK | 10 |
4 | 0ms | 592kb | OK | 10 |
5 | 4ms | 736kb | OK | 10 |
6 | 12ms | 884kb | OK | 10 |
7 | 20ms | 1024kb | OK | 10 |
8 | 24ms | 1036kb | OK | 10 |
9 | 8ms | 844kb | OK | 10 |
10 | 20ms | 992kb | OK | 10 |
Punctaj total | 100 |