Pagini recente » Cod sursa (job #783355) | Borderou de evaluare (job #1288383) | Borderou de evaluare (job #2609691) | Borderou de evaluare (job #1935351) | Borderou de evaluare (job #1252042)
Borderou de evaluare (job #1252042)
Raport evaluator
Compilare:
user.cpp:4:21: warning: overflow in implicit constant conversion [-Woverflow]
#define INF 10000000000
^
user.cpp:13:26: note: in expansion of macro ‘INF’
int q[1001], Min=INF, n, s=0;
^
user.cpp: In function ‘void dfs(int, int, int)’:
user.cpp:25:43: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i=0; i<g[x].nod.size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:46:45: 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:47:47: 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:48:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&n,&m);
^
user.cpp:51:41: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&x,&y,&z);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 0ms | 284kb | OK | 5 |
| 2 | 0ms | 284kb | Incorect | 0 |
| 3 | 0ms | 284kb | Incorect | 0 |
| 4 | 12ms | 280kb | Incorect | 0 |
| 5 | 24ms | 288kb | Incorect | 0 |
| 6 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 7 | 4ms | 288kb | Incorect | 0 |
| 8 | 0ms | 288kb | Incorect | 0 |
| 9 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 10 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 11 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 12 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 13 | Depăşit | 276kb | Time limit exceeded. | 0 |
| 14 | Depăşit | 276kb | Time limit exceeded. | 0 |
| 15 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 16 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 17 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 18 | Depăşit | 268kb | Time limit exceeded. | 0 |
| 19 | Depăşit | 272kb | Time limit exceeded. | 0 |
| 20 | Depăşit | 272kb | Time limit exceeded. | 0 |
| Punctaj total | 5 |