Pagini recente » Borderou de evaluare (job #2102506) | Borderou de evaluare (job #477260) | Borderou de evaluare (job #2076202) | Borderou de evaluare (job #2224154) | Borderou de evaluare (job #1292610)
Borderou de evaluare (job #1292610)
Raport evaluator
Compilare:
user.cpp: In function ‘long int Calc(long int, long int)’:
user.cpp:21:39: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(long i=0;i<list[nod].size();i++){
^
user.cpp:23:56: warning: suggest parentheses around comparison in operand of ‘^’ [-Wparentheses]
if(((1<<newNod) & conf )||(conf ^ (1<<nod) == 0 && newNod == 0)){
^
user.cpp: In function ‘int main()’:
user.cpp:34:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hamilton.in","r",stdin);
^
user.cpp:35:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("hamilton.out","w",stdout);
^
user.cpp:37:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld",&n,&m);
^
user.cpp:39:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%ld %ld %ld",&x,&y,&cost);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 28ms | 20920kb | OK | 5 |
2 | 28ms | 20900kb | OK | 5 |
3 | 28ms | 20904kb | OK | 5 |
4 | 28ms | 20912kb | OK | 5 |
5 | 28ms | 20912kb | OK | 5 |
6 | 28ms | 20912kb | OK | 5 |
7 | 28ms | 20900kb | OK | 5 |
8 | 28ms | 20900kb | OK | 5 |
9 | 56ms | 20920kb | OK | 5 |
10 | 52ms | 20920kb | OK | 5 |
11 | 52ms | 20916kb | OK | 5 |
12 | 56ms | 20916kb | OK | 5 |
13 | 56ms | 20924kb | OK | 5 |
14 | 56ms | 20920kb | OK | 5 |
15 | Depăşit | 20876kb | Time limit exceeded. | 0 |
16 | Depăşit | 20896kb | Time limit exceeded. | 0 |
17 | 372ms | 20920kb | OK | 5 |
18 | Depăşit | 20880kb | Time limit exceeded. | 0 |
19 | Depăşit | 20876kb | Time limit exceeded. | 0 |
20 | Depăşit | 20872kb | Time limit exceeded. | 0 |
Punctaj total | 75 |