Pagini recente » Borderou de evaluare (job #2118878) | Borderou de evaluare (job #1886177) | Borderou de evaluare (job #1857227) | Borderou de evaluare (job #1087826) | Borderou de evaluare (job #1292577)
Borderou de evaluare (job #1292577)
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 | 24ms | 20912kb | OK | 5 |
| 2 | 24ms | 20900kb | OK | 5 |
| 3 | 24ms | 20904kb | OK | 5 |
| 4 | 28ms | 20916kb | OK | 5 |
| 5 | 28ms | 20920kb | OK | 5 |
| 6 | 28ms | 20916kb | OK | 5 |
| 7 | 28ms | 20900kb | OK | 5 |
| 8 | 24ms | 20900kb | OK | 5 |
| 9 | 52ms | 20920kb | OK | 5 |
| 10 | 52ms | 20924kb | OK | 5 |
| 11 | 52ms | 20920kb | OK | 5 |
| 12 | 52ms | 20920kb | OK | 5 |
| 13 | 52ms | 20920kb | OK | 5 |
| 14 | 52ms | 20916kb | OK | 5 |
| 15 | Depăşit | 20872kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 20876kb | Time limit exceeded. | 0 |
| 17 | 416ms | 20916kb | OK | 5 |
| 18 | Depăşit | 20876kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 20876kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 20876kb | Time limit exceeded. | 0 |
| Punctaj total | 75 |